Commit Graph

14247 Commits

Author SHA1 Message Date
ryan
0449fee5da has_term(). Props ptahdunbar. fixes #12526
git-svn-id: http://svn.automattic.com/wordpress/trunk@15677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-01 17:44:53 +00:00
scribu
a4167676ea Add inline documentation for ms-blogs.php. See #14953
git-svn-id: http://svn.automattic.com/wordpress/trunk@15676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-01 01:32:31 +00:00
nacin
c63d9afdec Some phpdoc for ms-functions.php. props boonebgorges. see #14953.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-29 23:44:34 +00:00
nacin
345ceb41ed Add missing echo. see #14139, [15665].
git-svn-id: http://svn.automattic.com/wordpress/trunk@15674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-29 09:11:08 +00:00
nacin
e83068064f Don't echo the updated div on sites.php before the admin header.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-28 18:21:46 +00:00
scribu
af5d4ba206 Do thorough resets in init() and init_query_flags(). Props coffee2code. Fixes #14976
git-svn-id: http://svn.automattic.com/wordpress/trunk@15672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-27 23:48:03 +00:00
ryan
b5008205b5 Admin bar, first pass. see #14772
git-svn-id: http://svn.automattic.com/wordpress/trunk@15671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-27 20:26:36 +00:00
nacin
d77fd54815 Fix a comma splice. Props Amanda French.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-27 07:29:18 +00:00
scribu
a97ad3f654 Fix redirection when saving network settings. Fixes #14970
git-svn-id: http://svn.automattic.com/wordpress/trunk@15669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-26 23:18:43 +00:00
scribu
fb3f734076 Update FSF Address in license.txt. Props niallkennedy. Fixes #14967
git-svn-id: http://svn.automattic.com/wordpress/trunk@15668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-26 22:54:58 +00:00
dd32
deb8828381 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: http://svn.automattic.com/wordpress/trunk@15667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-26 10:56:36 +00:00
dd32
2ed8e66a7c 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: http://svn.automattic.com/wordpress/trunk@15666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-26 10:02:23 +00:00
nacin
cb5fcf636b Add missing 'Moderate Comment' $title to comment.php. props MattyRob, fixes #14139.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-26 09:37:25 +00:00
nacin
b205913daa Apply [15661] to the edit-tags.php screens. fixes #14959. see #14886 for current_screen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-26 09:34:09 +00:00
nacin
28ad1d7dc1 Remove debug cruft. see [15662].
git-svn-id: http://svn.automattic.com/wordpress/trunk@15663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-26 09:19:17 +00:00
nacin
ffacf3e36b 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: http://svn.automattic.com/wordpress/trunk@15662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-26 09:16:38 +00:00
nacin
47b9b4ab1c Add a post type class to screen icons. props jfarthing84 for initial patch. see #14959.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-26 08:51:34 +00:00
nacin
a89ebb3322 Have get_boundary_post sort by post_date, not ID. props scribu, jk0. fixes #14035.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-26 08:31:16 +00:00
dd32
dfadcb73fc Only show the Password Strength Meter when JavaScript is available. Fixes #14943
git-svn-id: http://svn.automattic.com/wordpress/trunk@15659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-25 10:58:01 +00:00
ryan
526e939001 Fix header positioning in IE9. Props iandstewart. fixes #14883
git-svn-id: http://svn.automattic.com/wordpress/trunk@15658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-24 19:56:56 +00:00
scribu
11642d9baa Remove misplaced code introduced in [15653]. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-24 19:38:21 +00:00
ryan
a2a9451ae6 Feature filter visuals. First pass. see #14936
git-svn-id: http://svn.automattic.com/wordpress/trunk@15656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-24 18:50:31 +00:00
ryan
bd34872821 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: http://svn.automattic.com/wordpress/trunk@15655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-24 15:28:28 +00:00
scribu
d4ded42a1b get_objects_in_term(): include term children when querying by slug. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@15654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-24 14:08:07 +00:00
scribu
248b086540 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: http://svn.automattic.com/wordpress/trunk@15653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-24 13:35:06 +00:00
dd32
6dd01bf248 Do not generate invalid SQL for empty term archives. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@15652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-24 12:09:44 +00:00
dd32
1380f38f95 Use the correct term_id field in get_body_class().
git-svn-id: http://svn.automattic.com/wordpress/trunk@15651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-24 11:58:21 +00:00
scribu
164be642a4 Consistently set $post_type to 'any' when a taxonomy query is involved. See [15649]. See #14589
git-svn-id: http://svn.automattic.com/wordpress/trunk@15650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-23 23:19:47 +00:00
scribu
61cd7dffe0 Set $post_type to 'any' when taxonomies are involved (code resqued from r15613). See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@15649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-23 23:11:49 +00:00
westi
b3054b3106 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: http://svn.automattic.com/wordpress/trunk@15648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-23 21:38:28 +00:00
westi
4df97ff398 First part of #14820. Copy the file to preserve history. Props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-23 21:22:21 +00:00
ryan
baef50b41c Options list for current theme. see #14936
git-svn-id: http://svn.automattic.com/wordpress/trunk@15646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-22 17:23:38 +00:00
ryan
34659558f1 Options list for current theme. see #14936
git-svn-id: http://svn.automattic.com/wordpress/trunk@15645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-22 17:23:00 +00:00
ryan
ed134c40a5 Theme searching. First pass. see #14936
git-svn-id: http://svn.automattic.com/wordpress/trunk@15644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-22 15:28:03 +00:00
scribu
41cdb90eb9 Make login css more flexible. Props joelhardi. Fixes #7763
git-svn-id: http://svn.automattic.com/wordpress/trunk@15643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-22 15:26:16 +00:00
scribu
e975e650cf Introduce WP_List_Table::current_action() and use throughout admin list screens. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-22 00:10:39 +00:00
ryan
f3d45472d2 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: http://svn.automattic.com/wordpress/trunk@15641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-21 19:41:35 +00:00
nacin
669b7b3e87 Provide an example for add_role() capabilities argument. props simonwheatley, fixes #14918.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-21 14:52:03 +00:00
ryan
2d360ad164 Revert [15637]. Still needed for PHP4.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-20 19:17:47 +00:00
nacin
9e97f25249 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: http://svn.automattic.com/wordpress/trunk@15638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-20 19:13:47 +00:00
ryan
bef67a04e2 Remove annoying, useless construcotrs. Props Rasmus. http://talks.php.net/show/confoo10/8
git-svn-id: http://svn.automattic.com/wordpress/trunk@15637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-20 18:53:03 +00:00
ryan
dbe85a7f46 Speed up is_serialized() with strpbrk(). Props Rasmus. see #14429
git-svn-id: http://svn.automattic.com/wordpress/trunk@15636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-20 18:11:06 +00:00
ryan
6b351163ef Simplify sanitize_key() and use it in more places. see #14910
git-svn-id: http://svn.automattic.com/wordpress/trunk@15635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-20 15:28:58 +00:00
scribu
c2100074d3 Clarify code in wp_load_alloptions(). Props joelhardi. Fixes #14896
git-svn-id: http://svn.automattic.com/wordpress/trunk@15634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-19 11:08:20 +00:00
scribu
6d53e83463 Map 'approved' comment view to 'approve' comment status. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-18 19:51:53 +00:00
scribu
a3bcc7c63c 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



git-svn-id: http://svn.automattic.com/wordpress/trunk@15632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-18 19:30:53 +00:00
scribu
dea3a23691 Introduce get_ancestors(). Props filosofo. Fixes #12443
git-svn-id: http://svn.automattic.com/wordpress/trunk@15631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-18 19:20:16 +00:00
scribu
ce723858c2 WP_Comments_Table cleanup:
* use column_*() methods
	* remove extra arguments from single_row()
	* introduce derived class WP_Post_Comments_Table for handling the post metabox comments
	* use $pending_count property instead of $_comment_pending_count global
See #14579



git-svn-id: http://svn.automattic.com/wordpress/trunk@15630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-18 17:46:29 +00:00
scribu
a927a1665c Extra single_row_columns() out of single_row() for increased flexibility. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-18 17:21:32 +00:00
scribu
db30a85e35 Remove unused edit-*-rows.php files. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-18 17:17:29 +00:00