Commit Graph

14318 Commits

Author SHA1 Message Date
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 0d9b6a856a Preserve search terms on plugin management pages during actions. Fixes #14905 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15697 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 04:26:58 +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 393599b9c8 indentation consistency
git-svn-id: https://develop.svn.wordpress.org/trunk@15681 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-02 03:08:50 +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 f81a980a70 Eliminate admin_notice_feed(). Props technosailor. fixes #14587
git-svn-id: https://develop.svn.wordpress.org/trunk@15679 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-01 18:34:25 +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
Andrew Nacin 4a08f231a0 Add missing echo. see #14139, [15665].
git-svn-id: https://develop.svn.wordpress.org/trunk@15674 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-29 09:11:08 +00:00
Andrew Nacin 89656a07b5 Don't echo the updated div on sites.php before the admin header.
git-svn-id: https://develop.svn.wordpress.org/trunk@15673 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-28 18:21:46 +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 52eef00d94 Fix a comma splice. Props Amanda French.
git-svn-id: https://develop.svn.wordpress.org/trunk@15670 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-27 07:29:18 +00:00
scribu 130b669167 Fix redirection when saving network settings. Fixes #14970
git-svn-id: https://develop.svn.wordpress.org/trunk@15669 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 23:18:43 +00:00
scribu 25730803d7 Update FSF Address in license.txt. Props niallkennedy. Fixes #14967
git-svn-id: https://develop.svn.wordpress.org/trunk@15668 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 22:54:58 +00:00
Dion Hulse 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
git-svn-id: https://develop.svn.wordpress.org/trunk@15667 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 10:56:36 +00:00
Dion Hulse 57af0bf212 Use the correct variable names, Fixes "Empty Spam" comments & "Approve" link. Add a clear to push "No comments found." into place. Fixes #14964
git-svn-id: https://develop.svn.wordpress.org/trunk@15666 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 10:02:23 +00:00
Andrew Nacin 07a421af1f Add missing 'Moderate Comment' $title to comment.php. props MattyRob, fixes #14139.
git-svn-id: https://develop.svn.wordpress.org/trunk@15665 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 09:37:25 +00:00
Andrew Nacin 842f61b71e Apply [15661] to the edit-tags.php screens. fixes #14959. see #14886 for current_screen.
git-svn-id: https://develop.svn.wordpress.org/trunk@15664 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 09:34:09 +00:00
Andrew Nacin 1c24b9d9e8 Remove debug cruft. see [15662].
git-svn-id: https://develop.svn.wordpress.org/trunk@15663 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 09:19:17 +00:00
Andrew Nacin 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@15662 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 09:16:38 +00:00
Andrew Nacin 6aea75f676 Add a post type class to screen icons. props jfarthing84 for initial patch. see #14959.
git-svn-id: https://develop.svn.wordpress.org/trunk@15661 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 08:51:34 +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 0f59f34cc0 Fix header positioning in IE9. Props iandstewart. fixes #14883
git-svn-id: https://develop.svn.wordpress.org/trunk@15658 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 19:56:56 +00:00
scribu 60adebf724 Remove misplaced code introduced in [15653]. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15657 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 19:38:21 +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
Ryan Boren 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
git-svn-id: https://develop.svn.wordpress.org/trunk@15655 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 15:28:28 +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
scribu 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@15653 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 13:35:06 +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