Commit Graph

2317 Commits

Author SHA1 Message Date
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
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 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 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
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 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 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
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 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
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 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 93d4b0c223 Add default display_rows() and single_row() methods to WP_List_Table. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-16 20:07:39 +00:00
nacin 271aa55c16 Don't show the default password nag on the profile screen. props duck_, fixes #14861.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-13 16:49:04 +00:00
scribu bc1ef8519e Fix posts screen for contributors. Fixes #14822
git-svn-id: http://svn.automattic.com/wordpress/trunk@15605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-09 22:22:36 +00:00
westi 6ba5cecaaa Apply some bandaid to WP_Comments_Table::prepare_items() to cover more of the different ways we include post IDs in urls/ajax queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-09 20:34:40 +00:00
scribu 6509fa203a Fix MS User search. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-09 10:20:07 +00:00
scribu 00a9e39bcf Fix delete plugin links. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-08 12:15:50 +00:00
scribu 449d62100e Introduce 'edit_comment' meta cap. Fixes #14520
git-svn-id: http://svn.automattic.com/wordpress/trunk@15596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 23:35:28 +00:00
nacin 1dee100f3a Fix typo. props mrmist, fixes #14571.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 15:11:43 +00:00
nacin 5a20c05d27 Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 11:21:11 +00:00
scribu 9a9e872597 introduce WP_List_Table::views(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 21:26:27 +00:00
scribu 614929f25b Fix theme pagination. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 19:26:01 +00:00
scribu c60d3205e6 remove useless __() call with variable. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 18:19:38 +00:00
scribu ce38630ab0 Use get_users() in WP_MS_User_Table. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 17:07:36 +00:00
scribu f24da67b4b Introduce WP_List_Table::row_actions(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 16:53:59 +00:00
scribu c02669236e Introduce WP_List_Table::get_items_per_page(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 15:15:46 +00:00
scribu 1652fe96c1 fix wp_getAuthors in xmlrpc.php. See #14572 and [15566]
git-svn-id: http://svn.automattic.com/wordpress/trunk@15567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 14:49:52 +00:00
scribu 11ff3a7ce9 call get_users() from get_users_of_blog()
git-svn-id: http://svn.automattic.com/wordpress/trunk@15566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 14:35:55 +00:00
nacin 15bc341696 phpdoc, @since, whitespace. Also require an argument in wp_insert_post(). props duck_, see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 02:45:39 +00:00
ryan ca7bec26be Hide more meta boxes by default. fixes #14212
git-svn-id: http://svn.automattic.com/wordpress/trunk@15555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-31 18:27:59 +00:00
nacin 34e00ea35a Use return_empty_array instead of create_function. see #14579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-28 04:54:27 +00:00
scribu 253faa4bbe Deprecated get_editable_user_ids() altogether, along with similar, unused functions. See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-27 01:07:21 +00:00
scribu 7a62e9057d Fix post_author_meta_box(). See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-27 00:24:41 +00:00
scribu 18469c28ff Deprecate unused get_author_user_ids()and get_editable_authors(). See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-27 00:22:29 +00:00
scribu e7a6f6f967 use get_users() in get_editable_user_ids() and cache result. See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-27 00:18:57 +00:00
scribu b9955d5a66 use unaltered in the get_list_table_* filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@15535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-26 11:02:51 +00:00
scribu ab4fc9bba9 Rename admin-table.js to list-table.js
git-svn-id: http://svn.automattic.com/wordpress/trunk@15530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-25 01:59:13 +00:00
scribu 75219a5110 Introduce get_list_table(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-25 00:51:44 +00:00
scribu 385dbb646d On the plugins page, set and at the right time. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-24 19:50:55 +00:00
scribu db4e0ce056 Fix Recently Active plugins screen. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-23 21:31:42 +00:00
scribu f9b862ed5e Use global_terms_enabled() instead of is_multisite() for term quick-editing
git-svn-id: http://svn.automattic.com/wordpress/trunk@15524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-23 18:56:39 +00:00
scribu cae0e969ce replace $table with $wp_list_table. See #14651
git-svn-id: http://svn.automattic.com/wordpress/trunk@15519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-22 11:22:46 +00:00
scribu 33ccdcdeab use is_a() instead of is_object() in screen_meta(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-22 01:50:34 +00:00
scribu 65206ec0d7 Make deprecated functions work. See #14651
git-svn-id: http://svn.automattic.com/wordpress/trunk@15517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-21 18:08:42 +00:00
scribu 1ea0bc3486 Remove dead code from WP_List_Table::print_column_headers()
git-svn-id: http://svn.automattic.com/wordpress/trunk@15516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-21 16:56:24 +00:00
scribu 3a1d872cfd Move list table deprecated functions to wp-admin/includes/deprecated.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@15515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-21 16:33:56 +00:00
scribu fce15d1f2c Fix the comment type dropdown. Fixes #14637
git-svn-id: http://svn.automattic.com/wordpress/trunk@15513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-20 11:43:32 +00:00