Commit Graph

15780 Commits

Author SHA1 Message Date
Andrew Nacin
211ed39112 Add twentyten_attachment_height filter. props lancewillett, fixes #14402.
git-svn-id: https://develop.svn.wordpress.org/trunk@17305 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 01:12:00 +00:00
Andrew Nacin
fca7f0c9a3 jQuery UI 1.8.8. props demetris, fixes #16234.
git-svn-id: https://develop.svn.wordpress.org/trunk@17304 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 00:39:38 +00:00
Ryan Boren
5844e953a8 Improve presentation when there are no available themes. Props solarissmoke, garyc40. fixes #16196
git-svn-id: https://develop.svn.wordpress.org/trunk@17303 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-15 00:35:29 +00:00
Mark Jaquith
72d78d9075 Add missing "General" word in readme. props duck_
git-svn-id: https://develop.svn.wordpress.org/trunk@17302 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 20:30:16 +00:00
Mark Jaquith
02e5dcccdb WordPress contains libraries only available under the GPL v2 or later. No one cares about the GPL v1 anymore. We are now specifically saying that WordPress is available under the GPL version 2 or (at your option) any later version. This was discussed with the entire core team.
git-svn-id: https://develop.svn.wordpress.org/trunk@17301 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 19:26:43 +00:00
Andrew Nacin
5670ad00c6 Check for theme support before calling has_post_thumbnail for child theme compatibility. see #14903.
git-svn-id: https://develop.svn.wordpress.org/trunk@17300 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 19:16:21 +00:00
Andrew Nacin
fe7705a8cb For admin bar padding, use margin on the html element instead of padding on the body element. Causes far less conflicts. props aldenta, fixes #16222.
git-svn-id: https://develop.svn.wordpress.org/trunk@17299 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 17:52:51 +00:00
Andrew Nacin
b735118cd7 Don't allow an empty rewrite slug for CPT. If you need something like this, do rewrite=>false. fixes #15082.
git-svn-id: https://develop.svn.wordpress.org/trunk@17298 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 15:42:56 +00:00
Andrew Nacin
fa0584e236 Prevent new bulk actions from being added through the bulk_actions-screen filter. fixes #16031 at least for 3.1.
git-svn-id: https://develop.svn.wordpress.org/trunk@17297 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 07:20:13 +00:00
Andrew Nacin
d9b266ed25 Rename wp_admin_bar_init to _wp_admin_bar_init and add a note that removing this action is the wrong way to do it.
git-svn-id: https://develop.svn.wordpress.org/trunk@17296 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 05:57:25 +00:00
Peter Westwood
376207d61b Switch to using min-width so long titles can be displayed instead of using elipsis. Fixes #15654 props koopersmith.
git-svn-id: https://develop.svn.wordpress.org/trunk@17295 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 02:25:24 +00:00
Andrew Nacin
96fa9d4b56 Hide the many extraneous meta boxes for pages by default too. see #14212.
git-svn-id: https://develop.svn.wordpress.org/trunk@17294 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 01:02:15 +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
dc864d94e8 Only add the post format post classes when the post type supports post formats. posts posts posts posts. props iandstewart, fixes #16224.
git-svn-id: https://develop.svn.wordpress.org/trunk@17292 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 23:02:24 +00:00
Andrew Nacin
af64a47f5d Remove the button too. props ryan, see #14647.
git-svn-id: https://develop.svn.wordpress.org/trunk@17291 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 22:56:10 +00:00
Andrew Nacin
599875b5b9 Old files removal for 3.1, against r17285.
git-svn-id: https://develop.svn.wordpress.org/trunk@17290 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 22:19:05 +00:00
Andrew Nacin
7232a40edc Revert unrelated cruft in [17288]. see #14647.
git-svn-id: https://develop.svn.wordpress.org/trunk@17289 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 22:00:30 +00:00
Andrew Nacin
a711d9b671 Remove the TinyMCE media plugin. fixes #14647.
git-svn-id: https://develop.svn.wordpress.org/trunk@17288 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 21:57:30 +00:00
Andrew Nacin
54c72a97cb Don't use deprecated arguments. props PeteMall, see #15605.
git-svn-id: https://develop.svn.wordpress.org/trunk@17287 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 08:39:26 +00:00
Mark Jaquith
852a939130 Recompress some JS scripts that were done without YUI munging.
git-svn-id: https://develop.svn.wordpress.org/trunk@17286 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 08:04:58 +00:00
Mark Jaquith
a31ca04ccc script compress and bump
git-svn-id: https://develop.svn.wordpress.org/trunk@17285 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 07:17:22 +00:00
Mark Jaquith
9ce71fde62 Show the author dropdown in quick edit even when there is only one contributor-or-higher user and the post belongs to someone who no longer has contributor-or-higher access. fixes #14420
git-svn-id: https://develop.svn.wordpress.org/trunk@17284 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 07:14:12 +00:00
Ryan Boren
08ac2b7fe6 Bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@17283 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 05:26:06 +00:00
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