Commit Graph

15807 Commits

Author SHA1 Message Date
Andrew Nacin bf475c9d6f Just a typo of the class name. fixes #14786.
git-svn-id: https://develop.svn.wordpress.org/trunk@17282 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 05:08:40 +00:00
Andrew Nacin 4fcde740f1 Fix plugin-install column hiding and widths. props PeteMall, fixes #16210.
git-svn-id: https://develop.svn.wordpress.org/trunk@17281 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 01:50:23 +00:00
Peter Westwood 343b3c8a12 Bump script loader versions. See #16211
git-svn-id: https://develop.svn.wordpress.org/trunk@17280 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 01:35:28 +00:00
Peter Westwood de9eb02d8e Add unique ids as well as of classes in the admin bar to make it easier for plugins to extend.
Ensure we escape the classname.
Fixes #16211 props koopersmith.

git-svn-id: https://develop.svn.wordpress.org/trunk@17279 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 01:34:15 +00:00
Andrew Nacin 911530b2fe Use is_post_type_hierarchical() instead of hierarchical_display. fixes #16213.
git-svn-id: https://develop.svn.wordpress.org/trunk@17278 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 01:21:30 +00:00
Andrew Nacin 03582ad585 Revert [17275] and [17276]. The rabbit hole is too deep. see #16166.
git-svn-id: https://develop.svn.wordpress.org/trunk@17277 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 00:50:35 +00:00
Andrew Nacin aa8519609e Move edit.php bulk actions code to a handler in the list table class. see #16166.
git-svn-id: https://develop.svn.wordpress.org/trunk@17276 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 00:34:18 +00:00
Andrew Nacin 166014d76e Move wp_redirect calls to the end of the switch in users.php. Fix unrelated bug where the user's cap should be check, rather than their role's cap. see #16166.
git-svn-id: https://develop.svn.wordpress.org/trunk@17275 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 00:22:53 +00:00
Mark Jaquith b6cd198d8e Add "paged param is greater than total pages" redirects to a few more screens. props greuben. fixes #16187
git-svn-id: https://develop.svn.wordpress.org/trunk@17274 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 00:03:38 +00:00
Andrew Nacin fabe2d6fdc #blamenacin, see #16166.
git-svn-id: https://develop.svn.wordpress.org/trunk@17273 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 23:22:03 +00:00
Ryan Boren fd8d4a6c02 Resurrect 'tag' query processing. see #16157
git-svn-id: https://develop.svn.wordpress.org/trunk@17272 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 21:44:47 +00:00
Andrew Nacin 51b498aec2 Force get_pagenum to validate max pages. Add sanity redirect code to upload.php. see #16187. props MarkJaquith, greuben.
git-svn-id: https://develop.svn.wordpress.org/trunk@17271 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 17:24:34 +00:00
Andrew Nacin 19122c3516 Keep sorting and paging for bulk actions. props garyc40, see #16166.
git-svn-id: https://develop.svn.wordpress.org/trunk@17270 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 17:06:33 +00:00
Peter Westwood 0105bcadf7 Admin Bar - show fullsite name in the tooltip. Correct some escaping. Fixes #16197 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@17269 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 16:02:56 +00:00
Andrew Nacin 6356b0a0b8 Document abstract methods in WP_List_Table.
git-svn-id: https://develop.svn.wordpress.org/trunk@17268 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 08:05:23 +00:00
Andrew Nacin 334356506b Multisite super admins should still be able to see the Plugins menu in the site admin. fixes #16184.
git-svn-id: https://develop.svn.wordpress.org/trunk@17267 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 07:12:59 +00:00
Andrew Nacin d2f18e4040 Check for a property of the object as well. props koopersmith, see #16194.
git-svn-id: https://develop.svn.wordpress.org/trunk@17266 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 06:11:18 +00:00
Andrew Nacin 85ec22211e Admin bar shortlink improvements. props koopersmith, fixes #16155.
git-svn-id: https://develop.svn.wordpress.org/trunk@17265 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 00:32:00 +00:00
Andrew Nacin 84e50d906f Leave the 'Try Again' link for the wp_die() when the themes API fails. props solarissmoke, fixes #16132.
git-svn-id: https://develop.svn.wordpress.org/trunk@17264 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-12 00:18:23 +00:00
Ryan Boren d848f25d95 Expand shortlink menu when clicked. Fix displayed of shortlinks when rel shortlink is missing. Props koopersmith. fixes #16155
git-svn-id: https://develop.svn.wordpress.org/trunk@17263 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 22:45:14 +00:00
Andrew Nacin 6d0af32ea7 Add nonces to instances where the list table display() method is overridden. see #16188.
git-svn-id: https://develop.svn.wordpress.org/trunk@17262 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 22:42:22 +00:00
Andrew Nacin 87221c5a85 Give the format taxonomy a name. props SergeyBiryukov, see #16172.
git-svn-id: https://develop.svn.wordpress.org/trunk@17261 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 22:11:32 +00:00
Andrew Nacin c4e9ac89ba Disallow a self-reference on RSS widget save, which would DoS a site. Checking home/siteurl should cover the vast majority of cases. see #8910.
git-svn-id: https://develop.svn.wordpress.org/trunk@17260 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 21:37:12 +00:00
Andrew Nacin 173b89b166 Only rely on is_super_admin for is_multisite when generating menu code. fixes #16184.
git-svn-id: https://develop.svn.wordpress.org/trunk@17259 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 21:00:23 +00:00
Peter Westwood ed6062f7cd Bumpity
git-svn-id: https://develop.svn.wordpress.org/trunk@17258 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 20:42:41 +00:00
Peter Westwood 2001385d38 Fix wplink version. Bump list-table version. Fixes #16188 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@17257 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 20:37:53 +00:00
Ryan Boren 545cc85918 Strip and prepare ajax tag search string. Avoids applying slashes toward the character count. Props brianlayman. see #13580
git-svn-id: https://develop.svn.wordpress.org/trunk@17256 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 20:15:25 +00:00
Andrew Nacin 4c869552ff Nonce checks for internal linking and list table ajax. fixes #16188.
git-svn-id: https://develop.svn.wordpress.org/trunk@17255 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 20:03:50 +00:00
Andrew Nacin 5ce8a20462 Set the post format before publishing the post in Press This. props Otto42, fixes #16192.
git-svn-id: https://develop.svn.wordpress.org/trunk@17254 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 19:58:58 +00:00
Mark Jaquith 3a2c242339 Minify and bump list-table.js see #16190
git-svn-id: https://develop.svn.wordpress.org/trunk@17253 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 19:40:31 +00:00
Mark Jaquith 733f374f85 Simulate browser behavior for selecting first dropdown element in non-multiselect, if no elements are selected by default. props koopersmith. fixes #16190
git-svn-id: https://develop.svn.wordpress.org/trunk@17252 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 19:37:43 +00:00
Ryan Boren e1b27b6bd9 Set tag_id for tag queries. Add NOT support to wp_list_filter(). Props scribu. fixes #16170
git-svn-id: https://develop.svn.wordpress.org/trunk@17251 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 18:56:59 +00:00
Mark Jaquith d25923ae63 Remove the help prompt text on the Post Format UI. It gets annoying quickly. see #15638
git-svn-id: https://develop.svn.wordpress.org/trunk@17250 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 18:56:23 +00:00
Andrew Nacin dd4329a4bc Limit post format queries to the post types registered for the taxonomy. see #16149.
git-svn-id: https://develop.svn.wordpress.org/trunk@17249 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 18:30:37 +00:00
Andrew Nacin 9fe67f9a2f Set a background color for the admin bar css3 gradient. props koopersmith, fixes #16142.
git-svn-id: https://develop.svn.wordpress.org/trunk@17248 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 18:19:26 +00:00
Andrew Nacin 372caaea9d RTL fixes. props yoavf, SergeyBiryukov, fixes #16160.
git-svn-id: https://develop.svn.wordpress.org/trunk@17247 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 18:17:53 +00:00
Ryan Boren 634763c218 Don't parse cat query var twice. Don't include children for category__* queries. Props SergeyBiryukov. see #16152
git-svn-id: https://develop.svn.wordpress.org/trunk@17246 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-09 20:49:11 +00:00
Ryan Boren 99478d0c8c Cast category and tag query args to array to allow passing a single ID or slug. Props SergeyBiryukov. fixes #14892
git-svn-id: https://develop.svn.wordpress.org/trunk@17245 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-09 16:42:01 +00:00
Ryan Boren f59c869e62 category__and, tag__and, tag_slug__in, tag_slug__and support. fixes #16157
git-svn-id: https://develop.svn.wordpress.org/trunk@17244 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-09 16:19:48 +00:00
Ryan Boren 91352574d7 Use correct var. Props westi. fixes #16145
git-svn-id: https://develop.svn.wordpress.org/trunk@17243 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-08 17:21:49 +00:00
Andrew Nacin d3af28cd11 RTL contextual help fix. props rasheed, SergeyBiryukov, fixes #16151.
git-svn-id: https://develop.svn.wordpress.org/trunk@17242 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-08 08:25:31 +00:00
Mark Jaquith c0148a5a15 [17240] rendered the theme-change rules flush introduced in [16705] unnecessary.
git-svn-id: https://develop.svn.wordpress.org/trunk@17241 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 23:44:12 +00:00
Andrew Nacin eb5b299e70 Don't check for post format support when registering the post format taxonomy. fixes #16146.
git-svn-id: https://develop.svn.wordpress.org/trunk@17240 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 21:23:52 +00:00
Ryan Boren d95ed80091 Selectively reset list-table forms rather than all forms to avoid stompage. Props koopersmith. fixes #16098
git-svn-id: https://develop.svn.wordpress.org/trunk@17239 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 20:52:42 +00:00
Ryan Boren d1575abd76 Fix post theme delete redirect. Props greuben. see #16117
git-svn-id: https://develop.svn.wordpress.org/trunk@17238 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 19:58:25 +00:00
Ryan Boren 5cd255f193 Fix net admin theme deletion over FTP. see #16117
git-svn-id: https://develop.svn.wordpress.org/trunk@17237 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 19:01:34 +00:00
Andrew Nacin 26e7626463 Add post format CSS to Twenty Ten. props iandstewart, fixes #16141.
git-svn-id: https://develop.svn.wordpress.org/trunk@17236 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 17:07:34 +00:00
Andrew Nacin 6d4007a6ee Err, oops. Put the class on the table row. props yoast, see [17234], see #16004.
git-svn-id: https://develop.svn.wordpress.org/trunk@17235 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 16:47:39 +00:00
Andrew Nacin 465650292a Revert _admin_bar_preferences() and add a class to the table row to allow it to be hidden. Forcing the use of CSS at least attempts to ensure that the developer will recognize that the saving aspect isn't handled. Handle this in the future across all settings screens. Reverts [17161]. fixes #16004.
git-svn-id: https://develop.svn.wordpress.org/trunk@17234 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 16:39:18 +00:00
Ryan Boren bb9c93115e Add context to string. Props nbachiyski. fixes #16130
git-svn-id: https://develop.svn.wordpress.org/trunk@17233 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-07 16:23:52 +00:00