Commit Graph

335 Commits

Author SHA1 Message Date
ryan
75641ee14a Fix redirects for trashed post bulk ops. Props nacin, SergeyBiryukov. fixes #16355
git-svn-id: http://svn.automattic.com/wordpress/trunk@17362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 19:30:24 +00:00
nacin
37075f7f71 Remove AJAX from list tables. first pass. see #16262.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 21:47:24 +00:00
nacin
94eb65baa0 Revert [17270], [17273], see #16166, see #16262.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 21:34:38 +00:00
nacin
9c1f2901cd Revert [17275] and [17276]. The rabbit hole is too deep. see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 00:50:35 +00:00
nacin
68c994d72b Move edit.php bulk actions code to a handler in the list table class. see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 00:34:18 +00:00
nacin
7c5fd789ac Keep sorting and paging for bulk actions. props garyc40, see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 17:06:33 +00:00
scribu
cfe09b99e5 Introduce WP_List_Table::search_box(). See #15353
git-svn-id: http://svn.automattic.com/wordpress/trunk@17006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 20:45:10 +00:00
nacin
cc08068dba Remove check_permissions() calls outside of AJAX context. Also only check for switch_themes in check_permissions() for the themes table. see #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 08:43:22 +00:00
nacin
1cd758dc89 Help text edits. props dougwrites, fixes #15346.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 06:37:03 +00:00
westi
d70286d3a6 Move post_type var setup back into edit.php and reinstate the cap check. See #15326
git-svn-id: http://svn.automattic.com/wordpress/trunk@16965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 18:58:05 +00:00
ryan
3949ce12d0 Pink trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 21:21:50 +00:00
scribu
3f2c0aff8a Don't show search box if there are no items available. See #15353
git-svn-id: http://svn.automattic.com/wordpress/trunk@16868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 20:22:34 +00:00
scribu
c3b2eb3c14 Remove unnecessary comments. See #15416
git-svn-id: http://svn.automattic.com/wordpress/trunk@16856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 08:55:17 +00:00
scribu
a4f15ae9a8 Redirect to correct page after bulk action for posts and comments. Props garyc40. Fixes #15416
git-svn-id: http://svn.automattic.com/wordpress/trunk@16855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 08:49:16 +00:00
westi
eba0b400c3 Revert brokenness. See #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 21:35:46 +00:00
westi
46cd784f3c Restore some more cap checks for clarity. See #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 21:06:19 +00:00
westi
be305cb6f9 If we have not items don't try and output the inline_edit form. Fixes #15240 props mrmist for tracking the bug down.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 08:09:58 +00:00
nacin
478186859b Properly check, initialize, or cast a number of variables. props ChenHui. see #14642.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 06:38:10 +00:00
westi
5e90c5d1c3 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: http://svn.automattic.com/wordpress/trunk@16175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-04 08:07:03 +00:00
scribu
3ded7f7c68 complete the renaming. props ocean90. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-03 22:06:45 +00:00
westi
ad92d629d6 The big renaming of the list-table class files.
See #14579

git-svn-id: http://svn.automattic.com/wordpress/trunk@16128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 09:19:50 +00:00
markjaquith
fc6e89da45 Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: http://svn.automattic.com/wordpress/trunk@16061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 21:56:43 +00:00
nacin
48d8763734 Commit the rest of [15955]. see #14579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-25 02:58:25 +00:00
ryan
9c31fd7c70 First pass of user admin. Network admin and screen cleanups. see #14696
git-svn-id: http://svn.automattic.com/wordpress/trunk@15746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 19:34:18 +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
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
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
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
nbachiyski
ccc74eef47 Fix typo
There were multiple to-s


git-svn-id: http://svn.automattic.com/wordpress/trunk@15523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-23 18:55:26 +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
d61363d755 Show dropdowns filter even when JS is disabled. Props blepoxp. Fixes #14150
git-svn-id: http://svn.automattic.com/wordpress/trunk@15511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-19 20:10:28 +00:00
scribu
c6056827ed Introduce WP_List_Table::check_permissions() and WP_List_Table::prepare_items(). Fixes #14596; See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-12 23:21:05 +00:00
scribu
020ce73746 Ajaxify list-type screens in the admin. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-11 21:54:51 +00:00
ryan
fd6cc7c779 Make posts per page filters consistent and back compat. Props wpmuguru. fixes #14135 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@15450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-21 17:27:04 +00:00
nacin
91ef1974d8 s/trash/Trash/
git-svn-id: http://svn.automattic.com/wordpress/trunk@15345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-29 08:47:43 +00:00
nacin
34c1fa6d0b target=blank for help. props jorbin, see #13467
git-svn-id: http://svn.automattic.com/wordpress/trunk@15132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-03 21:00:39 +00:00
ryan
08334aed6e Entities cleanup for help. Props zeo. see #13467
git-svn-id: http://svn.automattic.com/wordpress/trunk@15094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 17:44:38 +00:00
nacin
fc172d4d9a Help whitespace/punctuation cleanup. props zeo, see #13467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 16:16:40 +00:00
nbachiyski
bb00d56a67 Menu translatable strings cleanup.
* Take out <strong> of the translatable part of For more information:
 * Include support forums and Codex links inside translations, because most translators would want to change them to their local documentation sites or Codex prefixes


git-svn-id: http://svn.automattic.com/wordpress/trunk@14989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 11:52:15 +00:00
ryan
39efc9e5ca strong FMI. see #13467
git-svn-id: http://svn.automattic.com/wordpress/trunk@14961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 21:07:53 +00:00
ryan
6c8ec25985 Post and page help. see #13467
git-svn-id: http://svn.automattic.com/wordpress/trunk@14929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 03:36:04 +00:00
ryan
f5abf81369 Help for edit.php. see #13467
git-svn-id: http://svn.automattic.com/wordpress/trunk@14855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 20:46:27 +00:00
ryan
85740b35de Don't show view switcher for hierarhical post types. They don't support it yet.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 17:17:24 +00:00
ryan
f0076eed1c Set show_ui to true for post and page. Exclude _builtin = true from areas where we need to special case builtin types. fixes #13403
git-svn-id: http://svn.automattic.com/wordpress/trunk@14713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-17 16:39:36 +00:00
nacin
6d6532bfa1 Use show_ui instead of public flag to check whether the post type uses post-new and edit.php. see #13403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 20:49:28 +00:00
nacin
5478a0a538 Align default items shown in edit.php. props ocean90, fixes #13312.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 08:11:22 +00:00
nacin
6d590a567b Use 'Posts', 'Pages', and corresponding custom post type names as the edit.php title. fixes #12968, fixes #11274.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 01:45:30 +00:00
nacin
70f36f6c41 More typos. see #13358.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 21:03:33 +00:00
nacin
7734a07cb2 Move post type object capabilities to a 'cap' object. Allow them to be initialized via the 'capabilities' key (an array) when registering support for the post type. Caps are now referred to by the name of the cap as if it was a post, i.e. ->cap->edit_post. see #13358.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 20:45:18 +00:00
nbachiyski
46afe7c285 I18n for custom post type labels. Props demetris, dimadin. Fixes #12968
git-svn-id: http://svn.automattic.com/wordpress/trunk@14571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 19:52:50 +00:00