Commit Graph

7003 Commits

Author SHA1 Message Date
scribu 68f22e028e Recognize meta_query as a query var. Props aaroncampbell. Fixes #14645
git-svn-id: https://develop.svn.wordpress.org/trunk@15713 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 17:51:17 +00:00
Andrew Nacin 7cac913b3b Restore wp_delete_category. props blepoxp, fixes #15008.
git-svn-id: https://develop.svn.wordpress.org/trunk@15712 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 16:28:01 +00:00
Ryan Boren 27d9e24a11 jQuery UI 1.8.5. Props demetris. fixes #12863
git-svn-id: https://develop.svn.wordpress.org/trunk@15711 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 16:19:18 +00:00
scribu 078cda9275 Fix menu box search. Fixes #14335
git-svn-id: https://develop.svn.wordpress.org/trunk@15709 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 14:17:34 +00:00
Dion Hulse 21bf2e613d Fix canonical redirection for permalinks containing %category% with nested categories and paging. Fixes #13471 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15707 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 11:30:11 +00:00
Dion Hulse 9f034ad032 Revert part of [15703]. The Metadata API doesnt unserialize everything.
git-svn-id: https://develop.svn.wordpress.org/trunk@15706 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 11:00:36 +00:00
Dion Hulse 6ace731ac8 Introduce hierarchical taxonomy URL's, Can be enabled by setting 'hierarchical_url' to true upon taxonomy registration. See #12659
git-svn-id: https://develop.svn.wordpress.org/trunk@15705 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 10:37:25 +00:00
Dion Hulse 996e0020b2 Forgot to change a variable name in [15703]
git-svn-id: https://develop.svn.wordpress.org/trunk@15704 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 10:03:05 +00:00
Dion Hulse 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@15703 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 09:59:53 +00:00
Dion Hulse 761ad85a17 Fix a hard-coded database table typo. s/wp_users/$wpdb->users/
git-svn-id: https://develop.svn.wordpress.org/trunk@15702 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 09:43:02 +00:00
Dion Hulse 3d2e3625d4 Do not load Taxonomy cache & Postmeta cache in get_boundary_post(). Fixes #15028
git-svn-id: https://develop.svn.wordpress.org/trunk@15701 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 09:17:18 +00:00
Dion Hulse d837eb9f8f Cache terms under more scenario's in update_post_caches(). Fixes #15026
git-svn-id: https://develop.svn.wordpress.org/trunk@15700 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 08:56:04 +00:00
Dion Hulse 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
git-svn-id: https://develop.svn.wordpress.org/trunk@15698 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 07:38:32 +00:00
Dion Hulse c20a7fc441 Do not load adminbar css in media uploader. See #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15696 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 04:16:33 +00:00
Dion Hulse 57f3dab19d Do not show admin bar in update iframes. See #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15695 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 04:11:34 +00:00
Dion Hulse 7feec6e344 Fix return false; for Adminbar Blog info.
git-svn-id: https://develop.svn.wordpress.org/trunk@15694 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 03:15:35 +00:00
Dion Hulse b10f73b4bc Fix profile link in admin bar. Props mellertime. Fixes #15022
git-svn-id: https://develop.svn.wordpress.org/trunk@15693 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 03:04:28 +00:00
Dion Hulse b5e7866d16 Sanitize meta keynames used as object properties on retrieval. Fixes #14924
git-svn-id: https://develop.svn.wordpress.org/trunk@15692 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 02:55:11 +00:00
Andrew Nacin d2cfd1f678 wp_quickpress_form, first pass. props jorbin. see #14966.
git-svn-id: https://develop.svn.wordpress.org/trunk@15691 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-03 07:41:48 +00:00
Andrew Nacin 6d07d415ec Have wp_delete_category wrap wp_delete_term. Move wp_delete_category into wp-includes scope for consistency. fixes #15008, props blepoxp.
git-svn-id: https://develop.svn.wordpress.org/trunk@15690 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-03 07:29:44 +00:00
Andrew Nacin 6fd30d36ea Docs and breathing room for get_media_buttons() and friends. see #14966.
git-svn-id: https://develop.svn.wordpress.org/trunk@15689 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-03 03:08:39 +00:00
Andrew Nacin 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@15688 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-03 02:58:59 +00:00
scribu 3791a39615 Allow search in archive pages. Fixes #14831
git-svn-id: https://develop.svn.wordpress.org/trunk@15687 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-02 22:52:15 +00:00
scribu c063cc13bb Split wp_filter_object_list() into wp_list_filter() and wp_list_pluck(). Fixes #15016
git-svn-id: https://develop.svn.wordpress.org/trunk@15686 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-02 18:48:51 +00:00
scribu 455d7463c1 Set 'cat' query var for backwards compatibility. Fixes #15007
git-svn-id: https://develop.svn.wordpress.org/trunk@15685 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-02 18:03:06 +00:00
Andrew Ozz 7636689e49 Properly align all buttons in the TinyMCE dialogs, see #12574
git-svn-id: https://develop.svn.wordpress.org/trunk@15684 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-02 05:31:42 +00:00
Andrew Ozz 358c7e1885 TinyMCE 3.3 first run
git-svn-id: https://develop.svn.wordpress.org/trunk@15683 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-02 05:14:12 +00:00
Dion Hulse f96d26ff97 Retire IIS 3,4,5 Set-Cookie redirection workaround. See [2436] for original implementation. See #10187
git-svn-id: https://develop.svn.wordpress.org/trunk@15682 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-02 04:02:24 +00:00
Dion Hulse c9ab260ab4 utilise wp_guess_url() in installation redirection to provide an Absolute URL. See #14062. See #14904
git-svn-id: https://develop.svn.wordpress.org/trunk@15680 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-02 03:08:02 +00:00
Ryan Boren 4c2c9bc17d Remove wordpressmu_wp_mail_from(). fixes #14586
git-svn-id: https://develop.svn.wordpress.org/trunk@15678 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-01 18:32:47 +00:00
Ryan Boren 0cfb13ac25 has_term(). Props ptahdunbar. fixes #12526
git-svn-id: https://develop.svn.wordpress.org/trunk@15677 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-01 17:44:53 +00:00
scribu 6dd0736429 Add inline documentation for ms-blogs.php. See #14953
git-svn-id: https://develop.svn.wordpress.org/trunk@15676 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-01 01:32:31 +00:00
Andrew Nacin c5de43dced Some phpdoc for ms-functions.php. props boonebgorges. see #14953.
git-svn-id: https://develop.svn.wordpress.org/trunk@15675 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-29 23:44:34 +00:00
scribu 898ba9b2b2 Do thorough resets in init() and init_query_flags(). Props coffee2code. Fixes #14976
git-svn-id: https://develop.svn.wordpress.org/trunk@15672 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-27 23:48:03 +00:00
Ryan Boren 733af07765 Admin bar, first pass. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15671 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-27 20:26:36 +00:00
Andrew Nacin f445cbf975 Have get_boundary_post sort by post_date, not ID. props scribu, jk0. fixes #14035.
git-svn-id: https://develop.svn.wordpress.org/trunk@15660 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 08:31:16 +00:00
Dion Hulse ff7ef3edd4 Only show the Password Strength Meter when JavaScript is available. Fixes #14943
git-svn-id: https://develop.svn.wordpress.org/trunk@15659 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-25 10:58:01 +00:00
Ryan Boren 36d2d868d5 Feature filter visuals. First pass. see #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@15656 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 18:50:31 +00:00
scribu d4eecd8787 get_objects_in_term(): include term children when querying by slug. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15654 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 14:08:07 +00:00
Dion Hulse b5f0bf47ac Do not generate invalid SQL for empty term archives. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15652 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 12:09:44 +00:00
Dion Hulse a59d598281 Use the correct term_id field in get_body_class().
git-svn-id: https://develop.svn.wordpress.org/trunk@15651 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 11:58:21 +00:00
scribu d004c99ea6 Consistently set $post_type to 'any' when a taxonomy query is involved. See [15649]. See #14589
git-svn-id: https://develop.svn.wordpress.org/trunk@15650 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-23 23:19:47 +00:00
scribu 9e37c78da3 Set $post_type to 'any' when taxonomies are involved (code resqued from r15613). See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15649 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-23 23:11:49 +00:00
Peter Westwood bf13c1921f Complete the move to a seperate class file for #14820 props filosofo.
Add support for replacing the class used. Fixes #14814 props filosofo.

git-svn-id: https://develop.svn.wordpress.org/trunk@15648 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-23 21:38:28 +00:00
Peter Westwood 620f094eb7 First part of #14820. Copy the file to preserve history. Props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@15647 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-23 21:22:21 +00:00
scribu b7be962c6b Make login css more flexible. Props joelhardi. Fixes #7763
git-svn-id: https://develop.svn.wordpress.org/trunk@15643 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-22 15:26:16 +00:00
Ryan Boren 6121bb1234 Don't fetch theme_roots transient on every page load. Avoid it altogether if there is only one theme dir. fixes #14911
git-svn-id: https://develop.svn.wordpress.org/trunk@15641 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-21 19:41:35 +00:00
Andrew Nacin 6131f69f23 Provide an example for add_role() capabilities argument. props simonwheatley, fixes #14918.
git-svn-id: https://develop.svn.wordpress.org/trunk@15640 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-21 14:52:03 +00:00
Ryan Boren 1b0446409c Revert [15637]. Still needed for PHP4.
git-svn-id: https://develop.svn.wordpress.org/trunk@15639 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-20 19:17:47 +00:00
Andrew Nacin 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@15638 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-20 19:13:47 +00:00