Commit Graph

6692 Commits

Author SHA1 Message Date
Dion Hulse a6194f1e0c Fully implement the 'delete_themes' capability. See also r13547
git-svn-id: https://develop.svn.wordpress.org/trunk@14984 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 09:49:38 +00:00
Peter Westwood b98c14cc34 Improved translation of the comment count in theme-compat. Props zeo.
git-svn-id: https://develop.svn.wordpress.org/trunk@14983 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 08:52:14 +00:00
Andrew Nacin ae9acca74d Add some educational tips. Suggest using add_image_size() in the inline docs for image_get_intermediate_size() and wp_get_attachment_image(). props jorbin. see #13556.
git-svn-id: https://develop.svn.wordpress.org/trunk@14981 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 05:03:46 +00:00
Andrew Nacin 4e04b51d7b Use orange for the plugin install thickbox button, not the new gray for update notification bubbles. fixes #13474.
git-svn-id: https://develop.svn.wordpress.org/trunk@14980 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 04:50:11 +00:00
Mark Jaquith b499437681 Use the correct array members of image_resize_dimensions() result when calculating best match for dynamic HTML image resize. fixes #13556
git-svn-id: https://develop.svn.wordpress.org/trunk@14979 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 04:40:14 +00:00
Andrew Nacin 9b8998cb46 Clean up the menu name/actions section. see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@14977 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 04:19:23 +00:00
Andrew Nacin 4bcefca0ca Fix order of params to strpos. props ampt, fixes #12115.
git-svn-id: https://develop.svn.wordpress.org/trunk@14976 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 04:14:35 +00:00
Andrew Nacin e549305dd4 Don't show expand/collapse menu bit for menu meta boxes except on hover. props duck_, see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@14972 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 02:28:23 +00:00
Andrew Nacin 9b4a85cdaf Move the "Add Home Link" functionality to a checkbox on the View All tab of the Pages metabox. Also makes it work non-JS. props filosofo, fixes #13213.
git-svn-id: https://develop.svn.wordpress.org/trunk@14971 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 02:24:33 +00:00
Andrew Nacin f5f97a46d3 Always pass post ID to the_title filter. props dndrnkrd, fixes #13558
git-svn-id: https://develop.svn.wordpress.org/trunk@14964 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 21:30:00 +00:00
Peter Westwood 7ea705db5b tick tock
git-svn-id: https://develop.svn.wordpress.org/trunk@14960 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 20:55:51 +00:00
Mark Jaquith 10ceba3686 Properly redirect custom post type URLs in redirect_canonical(). fixes #13561
git-svn-id: https://develop.svn.wordpress.org/trunk@14954 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 19:56:26 +00:00
Andrew Nacin 42bad1e654 Final bit of escaping in feeds. fixes #13555
git-svn-id: https://develop.svn.wordpress.org/trunk@14952 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 18:30:51 +00:00
Peter Westwood de09357409 Some more url escaping in feeds. See #13555.
git-svn-id: https://develop.svn.wordpress.org/trunk@14950 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 17:47:29 +00:00
Peter Westwood 31be303930 Move the escaping into get_guid() so we don't have to repeat ourselves. See #13555.
git-svn-id: https://develop.svn.wordpress.org/trunk@14949 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 17:27:18 +00:00
Andrew Nacin 12a45498b6 Consider 'auto-draft' a draft in get_post_permalink(). prevents custom post types from getting borked GUIDs. see #13555
git-svn-id: https://develop.svn.wordpress.org/trunk@14948 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 17:25:57 +00:00
Peter Westwood 41a560ec0b Escape the guid urls when placing them in feeds and other xml locations. See #13555.
git-svn-id: https://develop.svn.wordpress.org/trunk@14947 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 17:01:21 +00:00
Ryan Boren 22cb105416 No default value for pass by ref. Props filosofo. fixes #13553
git-svn-id: https://develop.svn.wordpress.org/trunk@14945 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 16:25:29 +00:00
Ryan Boren 6c79e1395d Make classes property for menus an array. Props filosofo. fixes #13551
git-svn-id: https://develop.svn.wordpress.org/trunk@14944 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 15:41:21 +00:00
Ryan Boren f333c16f10 More menu class back compat. Props filosofo. fixes #13543
git-svn-id: https://develop.svn.wordpress.org/trunk@14942 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 14:18:46 +00:00
Nikolay Bachiyski f4084990ea Focus on category field when adding a new category in the write panel
git-svn-id: https://develop.svn.wordpress.org/trunk@14940 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 09:17:40 +00:00
Andrew Nacin 20597ef3f8 Ensure auto-added pages are both published and sent to the end of the menu. Tiny enhancement and optimization to wp_update_nav_menu_item come with it. fixes #13447.
git-svn-id: https://develop.svn.wordpress.org/trunk@14937 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 06:59:14 +00:00
Andrew Nacin e0630f2a93 Don't store nonexistent (deleted) menus in the auto-add option. see #13447.
git-svn-id: https://develop.svn.wordpress.org/trunk@14934 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 05:11:46 +00:00
Andrew Nacin b8a0634d79 Validation in wp_dropdown_users and the non-hierarchical taxonomy meta box. props ocean90, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14931 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 04:01:14 +00:00
Andrew Nacin f26024e7b6 Prevent super admins from shooting themselves in the foot. props jorbin. Checks blog names against an array (filterable) of reserved keywords for subdirectory installs. fixes #13304.
git-svn-id: https://develop.svn.wordpress.org/trunk@14928 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 03:13:16 +00:00
Ryan Boren aec821c651 Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@14924 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 02:42:15 +00:00
Andrew Nacin 46d962dfb8 Handle current menu item classes for post pages. props filosofo, fixes #13543.
git-svn-id: https://develop.svn.wordpress.org/trunk@14923 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 02:38:31 +00:00
Andrew Nacin b254d508fe New admin menu notification bubble color. props JohnONolan, fixes #13474.
git-svn-id: https://develop.svn.wordpress.org/trunk@14918 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 00:59:15 +00:00
Andrew Nacin 1db01f2c56 Don't hide early nav menu instructions until the menu is no longer empty. props koopersmith, see #13525
git-svn-id: https://develop.svn.wordpress.org/trunk@14917 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 00:41:18 +00:00
Ron Rennick ca9f9c1086 allow main site 404 URL to be filtered, fixes #12758
git-svn-id: https://develop.svn.wordpress.org/trunk@14911 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 23:41:36 +00:00
Ryan Boren 7ba92c31a4 Menu notice and stlying fixes. Props filosofo. fixes #12812
git-svn-id: https://develop.svn.wordpress.org/trunk@14905 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 21:44:34 +00:00
Andrew Nacin 855bc34ad9 Remove unused/duplicated/undocumented post type object label. see #13539
git-svn-id: https://develop.svn.wordpress.org/trunk@14903 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 19:25:27 +00:00
Andrew Nacin ad59625e7f Fix typo. props rovo89, fixes #13494.
git-svn-id: https://develop.svn.wordpress.org/trunk@14902 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 18:59:20 +00:00
Andrew Nacin 7efaa581d3 Use a post type object label for edit_post_link's title attribute. props sc0ttkclark.
git-svn-id: https://develop.svn.wordpress.org/trunk@14901 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 18:55:51 +00:00
Ryan Boren b18836e3f9 Back compat menu classes. see #12812 #13379
git-svn-id: https://develop.svn.wordpress.org/trunk@14900 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 18:54:42 +00:00
Andrew Nacin 75e66fcb9c Use a filter instead of a new NO404REDIRECT constant. see #12758.
git-svn-id: https://develop.svn.wordpress.org/trunk@14899 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 18:12:14 +00:00
Ryan Boren b417ff2148 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@14896 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 17:47:52 +00:00
Donncha O Caoimh 7c28c554a6 Cast "public" as an int to ensure it gets set correctly.
git-svn-id: https://develop.svn.wordpress.org/trunk@14892 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 16:57:32 +00:00
Ryan Boren ca7b6498d7 Classes for posts and terms in the menus. see #13379
git-svn-id: https://develop.svn.wordpress.org/trunk@14891 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 16:51:09 +00:00
Andrew Nacin 5bc3a62137 Give is_singular the ability to provide awareness/context for custom post types. props ryan, scribu. Usage: is_singular('book') or is_singular( array( 'newspapers', 'books' ) ). fixes #12588.
git-svn-id: https://develop.svn.wordpress.org/trunk@14887 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 15:36:23 +00:00
Ron Rennick a9dee7eba7 cleanup $indents, props filosofo, see #12758
git-svn-id: https://develop.svn.wordpress.org/trunk@14885 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 15:31:28 +00:00
Ryan Boren e63b2b97be Don't set default category when saving an auto-draft. fixes #13531
git-svn-id: https://develop.svn.wordpress.org/trunk@14883 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 14:43:39 +00:00
Ryan Boren 7cafd15b07 Add ancestor classes. Props filosofo. see #12812
git-svn-id: https://develop.svn.wordpress.org/trunk@14881 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 14:25:06 +00:00
Andrew Nacin 00fda9f10b Allow pages to be added automattically to menus. see #13447.
git-svn-id: https://develop.svn.wordpress.org/trunk@14878 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 13:49:56 +00:00
Ryan Boren ae2d4eba15 Add parent classes to nav menu. Props filosofo. see #12812
git-svn-id: https://develop.svn.wordpress.org/trunk@14876 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 13:30:10 +00:00
Ron Rennick 7fdb99dbb5 ensure unique term_id when global terms enabled, see #13482
git-svn-id: https://develop.svn.wordpress.org/trunk@14872 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 07:24:10 +00:00
Ron Rennick aa8a5ab580 update rewrite rules for IIS, props Frumph, see #12758
git-svn-id: https://develop.svn.wordpress.org/trunk@14871 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 05:12:47 +00:00
Andrew Nacin 6ab4f52e79 New 'on' state for admin menus. props JohnONolan, see #13486.
git-svn-id: https://develop.svn.wordpress.org/trunk@14870 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 02:47:43 +00:00
Ryan Boren 51e11b64d6 Allow searching custom post types when attaching media. Props markoheijnen. fixes #13229
git-svn-id: https://develop.svn.wordpress.org/trunk@14869 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 02:18:07 +00:00
Ron Rennick e59cbd9ac4 give static var initial value, fixes #13517
git-svn-id: https://develop.svn.wordpress.org/trunk@14867 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 00:31:07 +00:00