Commit Graph

40 Commits

Author SHA1 Message Date
Andrew Nacin 99097a2096 Only pass the current screen to the list table constructor when we have a screen to work with. This is not the case for admin-ajax requests. fixes #22570.
git-svn-id: https://develop.svn.wordpress.org/trunk@22838 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-26 03:39:29 +00:00
Ryan Boren 7c52a19a5a Reduce reliance on global variables in the list tables. Allow passing a screen ID to the list tables so that ajax handlers can set the needed screen.
Props nacin
fixes #21871


git-svn-id: https://develop.svn.wordpress.org/trunk@21914 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-19 12:43:31 +00:00
Andrew Nacin 43209998c6 Output themes and theme-install infinite scrolling args in JS, rather than parsing query strings. props DH-Shredder, helenyhou. Make WP_Theme_Install_List_Table extend WP_Themes_List_Table. Doesn't help much yet, but we should be able to dry things up further. see #19815.
git-svn-id: https://develop.svn.wordpress.org/trunk@20094 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 22:09:26 +00:00
Ryan Boren 2b186b0c45 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +00:00
Andrew Nacin 2b4674a3b4 Remove AJAX from list tables. first pass. see #16262.
git-svn-id: https://develop.svn.wordpress.org/trunk@17322 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-16 21:47:24 +00:00
Peter Westwood 1f730d43b8 The old methods are good enough in alot of cases where plugins want to extend simply. So un deprecate for now.
git-svn-id: https://develop.svn.wordpress.org/trunk@17293 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 23:19:51 +00:00
Andrew Nacin 19c95bfae2 Don't double-slash list table include. props wpmuguru, fixes #15904.
git-svn-id: https://develop.svn.wordpress.org/trunk@17070 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 09:14:15 +00:00
Ryan Boren 4b33a0e9c4 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@16438 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:47:34 +00:00
Peter Westwood 817aa1975c Revert [16171] and [16172] - The class names were fine as they were and the MultiSite classes stand out more with the original naming.
git-svn-id: https://develop.svn.wordpress.org/trunk@16175 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 08:07:03 +00:00
scribu ed884411fe List-table Class Names: Consistency's Revenge. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16171 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 21:09:27 +00:00
Peter Westwood bf49078d9b Group the Network admin List Tables class mapping seperately so they are easier to pick out. See #14435, #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16129 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 09:24:32 +00:00
Peter Westwood c4633bbd54 The big renaming of the list-table class files.
See #14579

git-svn-id: https://develop.svn.wordpress.org/trunk@16128 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 09:19:50 +00:00
Peter Westwood 78d95aa459 Split out the list table functions into a seperate file from the base class.
See #14579.

git-svn-id: https://develop.svn.wordpress.org/trunk@16127 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 08:56:27 +00:00
Andrew Nacin 6f05802a40 Shuffle list-table files. First pass. see #14579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15954 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 00:12:41 +00:00
scribu 2146585c80 Use row_actions() in WP_Plugins_Table. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15924 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 11:22:00 +00:00
Andrew Nacin 7e48ac3e78 Pruning shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15904 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 19:55:28 +00:00
scribu bb3325a6df Fix notices in WP_List_Table::ajax_response(). Props Utkarsh. Fixes #15185
git-svn-id: https://develop.svn.wordpress.org/trunk@15894 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 15:30:35 +00:00
scribu 82a68a8979 Use isset() instead of '@'. Props Utkarsh. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15893 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 15:15:50 +00:00
Andrew Nacin fb4e38b0e7 Pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15843 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:48:22 +00:00
scribu eb59a85d22 Add WP_List_Table columns before all others. Fixes #15075
git-svn-id: https://develop.svn.wordpress.org/trunk@15764 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 09:39:16 +00:00
Andrew Nacin a1cd90933d s/Wether/Whether/
git-svn-id: https://develop.svn.wordpress.org/trunk@15756 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-08 02:35:06 +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
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
scribu 728285edbd Introduce WP_List_Table::current_action() and use throughout admin list screens. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15642 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-22 00:10:39 +00:00
scribu 6c744c7278 Extra single_row_columns() out of single_row() for increased flexibility. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15629 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-18 17:21:32 +00:00
scribu 6a582df334 Add default display_rows() and single_row() methods to WP_List_Table. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15622 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-16 20:07:39 +00:00
scribu 25677d588c introduce WP_List_Table::views(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15578 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 21:26:27 +00:00
scribu 248e0fd2c9 Introduce WP_List_Table::row_actions(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15571 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 16:53:59 +00:00
scribu 0c6e23f604 Introduce WP_List_Table::get_items_per_page(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15569 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 15:15:46 +00:00
scribu f4f1ee91ac use unaltered in the get_list_table_* filter
git-svn-id: https://develop.svn.wordpress.org/trunk@15535 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-26 11:02:51 +00:00
scribu 4b4c95799a Rename admin-table.js to list-table.js
git-svn-id: https://develop.svn.wordpress.org/trunk@15530 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-25 01:59:13 +00:00
scribu 76ac1c93a8 Introduce get_list_table(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15528 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-25 00:51:44 +00:00
scribu e848b8b815 Make deprecated functions work. See #14651
git-svn-id: https://develop.svn.wordpress.org/trunk@15517 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-21 18:08:42 +00:00
scribu a2a3bd31cb Remove dead code from WP_List_Table::print_column_headers()
git-svn-id: https://develop.svn.wordpress.org/trunk@15516 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-21 16:56:24 +00:00
scribu c016d150ef Show dropdowns filter even when JS is disabled. Props blepoxp. Fixes #14150
git-svn-id: https://develop.svn.wordpress.org/trunk@15511 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-19 20:10:28 +00:00
scribu 1b4603a611 Fix the Trash quickling in edit-comments.php. See #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15508 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 22:26:22 +00:00
scribu 1a078f252a correct post id in comments_bubble()
git-svn-id: https://develop.svn.wordpress.org/trunk@15505 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 16:41:58 +00:00
scribu 0a6cb83e18 introduce WP_List_Table::comments_bubble(); revert to edit-comments.php?p=123. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15504 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 16:30:27 +00:00
scribu 37401689c5 Introduce WP_List_Table::check_permissions() and WP_List_Table::prepare_items(). Fixes #14596; See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15496 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 23:21:05 +00:00
scribu fb9394167f Ajaxify list-type screens in the admin. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15491 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-11 21:54:51 +00:00