Commit Graph

  • 448f74675a Generalize taxonomy queries: * transform wp_tax_query() into WP_Object_Query::get_tax_sql() * create parse_tax_query() method in WP_Query * add doc-block for $tax_query and $meta_query See #15032. See #12891. scribu 2010-10-06 10:40:30 +00:00
  • 5a14ba3fa3 further meta query optimization. props aaroncampbell. fixes #9124 scribu 2010-10-05 23:06:20 +00:00
  • 39d1200d5c Revert part of [15713] to prevent notices. See #14645 scribu 2010-10-05 22:42:47 +00:00
  • dc54187c8a Properly reference tinyMCEPreInit in wp-tinymce.js.gz, fixes #15027 Andrew Ozz 2010-10-05 17:43:20 +00:00
  • e40c09a140 Move themes_api() to theme.php so that it is available to themes.php. see #14936 Ryan Boren 2010-10-05 13:24:41 +00:00
  • 73261c879f Don't revalidate $meta_type in get_meta_sql(). Props Viper007Bond. See #9124 scribu 2010-10-04 22:51:31 +00:00
  • ee22465376 Use elseif in get_meta_sql(). Props Viper007Bond. See #9124 scribu 2010-10-04 22:47:04 +00:00
  • 4685506671 Enhance get_meta_sql. Props aaroncampbell. Fixes #9124 scribu 2010-10-04 21:37:08 +00:00
  • 12fdf54fdd Move _wp_search_sql() into WP_Object_Query. Introduce WP_Comment_Search. See #15032 scribu 2010-10-04 21:05:31 +00:00
  • 4360f8c1a4 Use separate ajax spinners for the Save Draft and Publish buttons on the post form. fixes #14582 with initial patch from wojtek.szkutnik. Andrew Nacin 2010-10-04 20:53:04 +00:00
  • 7b01cbcc6e Put the simple meta query first, so that orderby=meta_value works even when using 'meta_query'. See #15031 scribu 2010-10-04 20:19:21 +00:00
  • 24294c1c83 Account for Twenty Ten in theme name collisions and properly fall back to TT in get_current_theme(). fixes #15719, props tonyf12. Andrew Nacin 2010-10-04 19:50:13 +00:00
  • 01094c2d95 Fix user edit urls for network admin Ryan Boren 2010-10-04 19:29:14 +00:00
  • 81896473cf Revert [15717]; it had extra bits in it Ryan Boren 2010-10-04 19:28:31 +00:00
  • 6eba2ab51d Fix user edit urls for network admin Ryan Boren 2010-10-04 19:26:40 +00:00
  • 0afda4b179 require_once to avoid error from admin bar snack menu include Ryan Boren 2010-10-04 19:25:39 +00:00
  • a811171a0c Introduce WP_Object_Query. See #15032 scribu 2010-10-04 18:57:13 +00:00
  • ec8503802e Strip redundant 'meta_' from 'meta_query' keys. See #14645 scribu 2010-10-04 18:26:26 +00:00
  • 68f22e028e Recognize meta_query as a query var. Props aaroncampbell. Fixes #14645 scribu 2010-10-04 17:51:17 +00:00
  • 7cac913b3b Restore wp_delete_category. props blepoxp, fixes #15008. Andrew Nacin 2010-10-04 16:28:01 +00:00
  • 27d9e24a11 jQuery UI 1.8.5. Props demetris. fixes #12863 Ryan Boren 2010-10-04 16:19:18 +00:00
  • 344af33b21 Streamline password reset process. Allow user to input new password. Props scribu. see #5919 Ryan Boren 2010-10-04 15:32:54 +00:00
  • 078cda9275 Fix menu box search. Fixes #14335 scribu 2010-10-04 14:17:34 +00:00
  • 21bf2e613d Fix canonical redirection for permalinks containing %category% with nested categories and paging. Fixes #13471 for trunk Dion Hulse 2010-10-04 11:30:11 +00:00
  • 9f034ad032 Revert part of [15703]. The Metadata API doesnt unserialize everything. Dion Hulse 2010-10-04 11:00:36 +00:00
  • 6ace731ac8 Introduce hierarchical taxonomy URL's, Can be enabled by setting 'hierarchical_url' to true upon taxonomy registration. See #12659 Dion Hulse 2010-10-04 10:37:25 +00:00
  • 996e0020b2 Forgot to change a variable name in [15703] Dion Hulse 2010-10-04 10:03:05 +00:00
  • 6c9b29e6f3 Simplify get_user_metavalues() to entirely rely upon the Metadata API, Removes a direct SQL Query. de-serializing is handled by the Metadata API now. Dion Hulse 2010-10-04 09:59:53 +00:00
  • 761ad85a17 Fix a hard-coded database table typo. s/wp_users/$wpdb->users/ Dion Hulse 2010-10-04 09:43:02 +00:00
  • 3d2e3625d4 Do not load Taxonomy cache & Postmeta cache in get_boundary_post(). Fixes #15028 Dion Hulse 2010-10-04 09:17:18 +00:00
  • d837eb9f8f Cache terms under more scenario's in update_post_caches(). Fixes #15026 Dion Hulse 2010-10-04 08:56:04 +00:00
  • 8e067e926c Initialize a variable. fixes #15025. Andrew Nacin 2010-10-04 08:48:43 +00:00
  • 5255794ad1 get_user_metavalues(): Use cached user objects when querying for a single user, Prevents duplicate usermeta queries from Adminbar. Whitespace & s/AS/as/. See #14772 Dion Hulse 2010-10-04 07:38:32 +00:00
  • 0d9b6a856a Preserve search terms on plugin management pages during actions. Fixes #14905 for trunk. Dion Hulse 2010-10-04 04:26:58 +00:00
  • c20a7fc441 Do not load adminbar css in media uploader. See #14772 Dion Hulse 2010-10-04 04:16:33 +00:00
  • 57f3dab19d Do not show admin bar in update iframes. See #14772 Dion Hulse 2010-10-04 04:11:34 +00:00
  • 7feec6e344 Fix return false; for Adminbar Blog info. Dion Hulse 2010-10-04 03:15:35 +00:00
  • b10f73b4bc Fix profile link in admin bar. Props mellertime. Fixes #15022 Dion Hulse 2010-10-04 03:04:28 +00:00
  • b5e7866d16 Sanitize meta keynames used as object properties on retrieval. Fixes #14924 Dion Hulse 2010-10-04 02:55:11 +00:00
  • d2cfd1f678 wp_quickpress_form, first pass. props jorbin. see #14966. Andrew Nacin 2010-10-03 07:41:48 +00:00
  • 6d07d415ec Have wp_delete_category wrap wp_delete_term. Move wp_delete_category into wp-includes scope for consistency. fixes #15008, props blepoxp. Andrew Nacin 2010-10-03 07:29:44 +00:00
  • 6fd30d36ea Docs and breathing room for get_media_buttons() and friends. see #14966. Andrew Nacin 2010-10-03 03:08:39 +00:00
  • ea2f90c70e Move some post and taxonomy functions from admin/includes to wp-includes in preparation for QuickPress template tag. Moves get_tags_to_edit, get_terms_to_edit, get_default_post_to_edit, media_buttons, _media_button, get_upload_iframe_src. Also introduce get_media_buttons as a wrapper for media_buttons. props jorbin, see #14966. Andrew Nacin 2010-10-03 02:58:59 +00:00
  • 3791a39615 Allow search in archive pages. Fixes #14831 scribu 2010-10-02 22:52:15 +00:00
  • c063cc13bb Split wp_filter_object_list() into wp_list_filter() and wp_list_pluck(). Fixes #15016 scribu 2010-10-02 18:48:51 +00:00
  • 455d7463c1 Set 'cat' query var for backwards compatibility. Fixes #15007 scribu 2010-10-02 18:03:06 +00:00
  • 7636689e49 Properly align all buttons in the TinyMCE dialogs, see #12574 Andrew Ozz 2010-10-02 05:31:42 +00:00
  • 358c7e1885 TinyMCE 3.3 first run Andrew Ozz 2010-10-02 05:14:12 +00:00
  • f96d26ff97 Retire IIS 3,4,5 Set-Cookie redirection workaround. See [2436] for original implementation. See #10187 Dion Hulse 2010-10-02 04:02:24 +00:00
  • 393599b9c8 indentation consistency Dion Hulse 2010-10-02 03:08:50 +00:00
  • c9ab260ab4 utilise wp_guess_url() in installation redirection to provide an Absolute URL. See #14062. See #14904 Dion Hulse 2010-10-02 03:08:02 +00:00
  • f81a980a70 Eliminate admin_notice_feed(). Props technosailor. fixes #14587 Ryan Boren 2010-10-01 18:34:25 +00:00
  • 4c2c9bc17d Remove wordpressmu_wp_mail_from(). fixes #14586 Ryan Boren 2010-10-01 18:32:47 +00:00
  • 0cfb13ac25 has_term(). Props ptahdunbar. fixes #12526 Ryan Boren 2010-10-01 17:44:53 +00:00
  • 6dd0736429 Add inline documentation for ms-blogs.php. See #14953 scribu 2010-10-01 01:32:31 +00:00
  • c5de43dced Some phpdoc for ms-functions.php. props boonebgorges. see #14953. Andrew Nacin 2010-09-29 23:44:34 +00:00
  • 4a08f231a0 Add missing echo. see #14139, [15665]. Andrew Nacin 2010-09-29 09:11:08 +00:00
  • 89656a07b5 Don't echo the updated div on sites.php before the admin header. Andrew Nacin 2010-09-28 18:21:46 +00:00
  • 898ba9b2b2 Do thorough resets in init() and init_query_flags(). Props coffee2code. Fixes #14976 scribu 2010-09-27 23:48:03 +00:00
  • 733af07765 Admin bar, first pass. see #14772 Ryan Boren 2010-09-27 20:26:36 +00:00
  • 52eef00d94 Fix a comma splice. Props Amanda French. Andrew Nacin 2010-09-27 07:29:18 +00:00
  • 130b669167 Fix redirection when saving network settings. Fixes #14970 scribu 2010-09-26 23:18:43 +00:00
  • 25730803d7 Update FSF Address in license.txt. Props niallkennedy. Fixes #14967 scribu 2010-09-26 22:54:58 +00:00
  • faf15fa40e Partially revert [15642]. Fixes Bulk deletion of non-media items. As a bonus, exit on redirects & check the post status is valid before querying it. See #14579 Dion Hulse 2010-09-26 10:56:36 +00:00
  • 57af0bf212 Use the correct variable names, Fixes "Empty Spam" comments & "Approve" link. Add a clear to push "No comments found." into place. Fixes #14964 Dion Hulse 2010-09-26 10:02:23 +00:00
  • 07a421af1f Add missing 'Moderate Comment' $title to comment.php. props MattyRob, fixes #14139. Andrew Nacin 2010-09-26 09:37:25 +00:00
  • 842f61b71e Apply [15661] to the edit-tags.php screens. fixes #14959. see #14886 for current_screen. Andrew Nacin 2010-09-26 09:34:09 +00:00
  • 1c24b9d9e8 Remove debug cruft. see [15662]. Andrew Nacin 2010-09-26 09:19:17 +00:00
  • 7639bd04c7 Prevent the $title global from being stomped. Caused by merger of manage_columns_prefs() into screen_meta() in [15653]. see #14952, see #14776. The global is apparent cruft as the function doesn't use it. Andrew Nacin 2010-09-26 09:16:38 +00:00
  • 6aea75f676 Add a post type class to screen icons. props jfarthing84 for initial patch. see #14959. Andrew Nacin 2010-09-26 08:51:34 +00:00
  • f445cbf975 Have get_boundary_post sort by post_date, not ID. props scribu, jk0. fixes #14035. Andrew Nacin 2010-09-26 08:31:16 +00:00
  • ff7ef3edd4 Only show the Password Strength Meter when JavaScript is available. Fixes #14943 Dion Hulse 2010-09-25 10:58:01 +00:00
  • 0f59f34cc0 Fix header positioning in IE9. Props iandstewart. fixes #14883 Ryan Boren 2010-09-24 19:56:56 +00:00
  • 60adebf724 Remove misplaced code introduced in [15653]. See #14579 scribu 2010-09-24 19:38:21 +00:00
  • 36d2d868d5 Feature filter visuals. First pass. see #14936 Ryan Boren 2010-09-24 18:50:31 +00:00
  • beb20a5bd5 get_theme_feature_list() replaces install_themes_feature_list(). Does translation and works if feature_list is not accessible from api.wordpress.org. see #14936 Ryan Boren 2010-09-24 15:28:28 +00:00
  • d4eecd8787 get_objects_in_term(): include term children when querying by slug. See #12891 scribu 2010-09-24 14:08:07 +00:00
  • 861c929165 Column headers revamp: * undeprecate get_column_headers() * undeprecate get_hidden_columns() * in WP_List_Table, rename get_column_headers() to get_column_info() * remove $taxonomy argument from single_row() * merge manage_columns_prefs() into screen_meta() Fixes #14952. Fixes #14776. scribu 2010-09-24 13:35:06 +00:00
  • b5f0bf47ac Do not generate invalid SQL for empty term archives. See #12891 Dion Hulse 2010-09-24 12:09:44 +00:00
  • a59d598281 Use the correct term_id field in get_body_class(). Dion Hulse 2010-09-24 11:58:21 +00:00
  • d004c99ea6 Consistently set $post_type to 'any' when a taxonomy query is involved. See [15649]. See #14589 scribu 2010-09-23 23:19:47 +00:00
  • 9e37c78da3 Set $post_type to 'any' when taxonomies are involved (code resqued from r15613). See #12891 scribu 2010-09-23 23:11:49 +00:00
  • bf13c1921f Complete the move to a seperate class file for #14820 props filosofo. Add support for replacing the class used. Fixes #14814 props filosofo. Peter Westwood 2010-09-23 21:38:28 +00:00
  • 620f094eb7 First part of #14820. Copy the file to preserve history. Props filosofo. Peter Westwood 2010-09-23 21:22:21 +00:00
  • 73f10a4468 Options list for current theme. see #14936 Ryan Boren 2010-09-22 17:23:38 +00:00
  • 45c4e0dc1b Options list for current theme. see #14936 Ryan Boren 2010-09-22 17:23:00 +00:00
  • e541559b37 Theme searching. First pass. see #14936 Ryan Boren 2010-09-22 15:28:03 +00:00
  • b7be962c6b Make login css more flexible. Props joelhardi. Fixes #7763 scribu 2010-09-22 15:26:16 +00:00
  • 728285edbd Introduce WP_List_Table::current_action() and use throughout admin list screens. See #14579 scribu 2010-09-22 00:10:39 +00:00
  • 6121bb1234 Don't fetch theme_roots transient on every page load. Avoid it altogether if there is only one theme dir. fixes #14911 Ryan Boren 2010-09-21 19:41:35 +00:00
  • 6131f69f23 Provide an example for add_role() capabilities argument. props simonwheatley, fixes #14918. Andrew Nacin 2010-09-21 14:52:03 +00:00
  • 1b0446409c Revert [15637]. Still needed for PHP4. Ryan Boren 2010-09-20 19:17:47 +00:00
  • 5963feeca6 Always include wp-db.php. Prevents a conditional include and allows db dropins to cleanly extend the wpdb class. Move require_wp_db() to load.php for consistency with bootloader helpers. fixes #14508. Andrew Nacin 2010-09-20 19:13:47 +00:00
  • 5207524203 Remove annoying, useless construcotrs. Props Rasmus. http://talks.php.net/show/confoo10/8 Ryan Boren 2010-09-20 18:53:03 +00:00
  • d46e7dbfc0 Speed up is_serialized() with strpbrk(). Props Rasmus. see #14429 Ryan Boren 2010-09-20 18:11:06 +00:00
  • df6d5550db Simplify sanitize_key() and use it in more places. see #14910 Ryan Boren 2010-09-20 15:28:58 +00:00
  • a6d9954621 Clarify code in wp_load_alloptions(). Props joelhardi. Fixes #14896 scribu 2010-09-19 11:08:20 +00:00
  • 523e35615c Map 'approved' comment view to 'approve' comment status. See #14579 scribu 2010-09-18 19:51:53 +00:00
  • 2e97d45693 WP_Terms_Table cleanup: * use column_*() methods * remove $taxonomy argument from single_row() * don't calculate tag full name in admin-ajax.php See #14579 scribu 2010-09-18 19:30:53 +00:00
  • b55b06e466 Introduce get_ancestors(). Props filosofo. Fixes #12443 scribu 2010-09-18 19:20:16 +00:00