Commit Graph

6701 Commits

Author SHA1 Message Date
nacin 15a1a43cd1 New pending menu item behavior. props filosofo, see #13579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 22:22:09 +00:00
westi ad95bd3f19 ↑↑↓↓←→←→BA
git-svn-id: http://svn.automattic.com/wordpress/trunk@15006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 21:44:07 +00:00
markjaquith 4a1321c8ee Initialize instead of using isset(). props nacin. see #13556
git-svn-id: http://svn.automattic.com/wordpress/trunk@15003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 20:41:36 +00:00
markjaquith 2ac2f215b2 Tweaks to wp_constrain_dimensions() for better fits and consistency. fixes #13556
git-svn-id: http://svn.automattic.com/wordpress/trunk@15002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 20:37:42 +00:00
nacin 00192e27a5 Add JS var isRtl to admin-header and remove unused JS localized vars for nav-menu. see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 18:57:07 +00:00
nacin c3cf7e4ee0 Forever eliminate 'Wordpress' from the planet (or at least the little bit we can influence). props matt.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 16:11:27 +00:00
nacin a324b52cc5 Some minor IE6/7 tweaks for menus. props ocean90, see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 13:54:14 +00:00
nacin 844226a1d8 Some inline doc updates for get_post_type_capabilities and get_post_type_labels. props MichaelH, fixes #13573.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 12:44:08 +00:00
nacin 5d2bff3f98 Use word-wrap:break-word in the nav menus. props ocean90, fixes #13574.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 12:42:09 +00:00
dd32 f0c63decb0 Fully implement the 'delete_themes' capability. See also r13547
git-svn-id: http://svn.automattic.com/wordpress/trunk@14984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 09:49:38 +00:00
westi c1c0effc6a Improved translation of the comment count in theme-compat. Props zeo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 08:52:14 +00:00
nacin 4de1c8edf4 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: http://svn.automattic.com/wordpress/trunk@14981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 05:03:46 +00:00
nacin 609e5cfd9a Use orange for the plugin install thickbox button, not the new gray for update notification bubbles. fixes #13474.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 04:50:11 +00:00
markjaquith 6655fa6bc7 Use the correct array members of image_resize_dimensions() result when calculating best match for dynamic HTML image resize. fixes #13556
git-svn-id: http://svn.automattic.com/wordpress/trunk@14979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 04:40:14 +00:00
nacin c029f47d0e Clean up the menu name/actions section. see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 04:19:23 +00:00
nacin addcd21cc0 Fix order of params to strpos. props ampt, fixes #12115.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 04:14:35 +00:00
nacin 2bd40396a9 Don't show expand/collapse menu bit for menu meta boxes except on hover. props duck_, see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 02:28:23 +00:00
nacin da7b990fb5 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: http://svn.automattic.com/wordpress/trunk@14971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 02:24:33 +00:00
nacin 2019e0a25c Always pass post ID to the_title filter. props dndrnkrd, fixes #13558
git-svn-id: http://svn.automattic.com/wordpress/trunk@14964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 21:30:00 +00:00
westi 2a4783ca35 tick tock
git-svn-id: http://svn.automattic.com/wordpress/trunk@14960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 20:55:51 +00:00
markjaquith 7baab2607d Properly redirect custom post type URLs in redirect_canonical(). fixes #13561
git-svn-id: http://svn.automattic.com/wordpress/trunk@14954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 19:56:26 +00:00
nacin 28a80ce82a Final bit of escaping in feeds. fixes #13555
git-svn-id: http://svn.automattic.com/wordpress/trunk@14952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 18:30:51 +00:00
westi 11f0a387cd Some more url escaping in feeds. See #13555.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 17:47:29 +00:00
westi 8b4a635d8b Move the escaping into get_guid() so we don't have to repeat ourselves. See #13555.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 17:27:18 +00:00
nacin dd9d57ec6a Consider 'auto-draft' a draft in get_post_permalink(). prevents custom post types from getting borked GUIDs. see #13555
git-svn-id: http://svn.automattic.com/wordpress/trunk@14948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 17:25:57 +00:00
westi b54183ae4c Escape the guid urls when placing them in feeds and other xml locations. See #13555.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 17:01:21 +00:00
ryan b7947aee30 No default value for pass by ref. Props filosofo. fixes #13553
git-svn-id: http://svn.automattic.com/wordpress/trunk@14945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 16:25:29 +00:00
ryan 65c6c9a3bd Make classes property for menus an array. Props filosofo. fixes #13551
git-svn-id: http://svn.automattic.com/wordpress/trunk@14944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 15:41:21 +00:00
ryan b085c18258 More menu class back compat. Props filosofo. fixes #13543
git-svn-id: http://svn.automattic.com/wordpress/trunk@14942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 14:18:46 +00:00
nbachiyski 6b09078e2f Focus on category field when adding a new category in the write panel
git-svn-id: http://svn.automattic.com/wordpress/trunk@14940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 09:17:40 +00:00
nacin 039ba88d09 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: http://svn.automattic.com/wordpress/trunk@14937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 06:59:14 +00:00
nacin c0289daf99 Don't store nonexistent (deleted) menus in the auto-add option. see #13447.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 05:11:46 +00:00
nacin c490ca0680 Validation in wp_dropdown_users and the non-hierarchical taxonomy meta box. props ocean90, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 04:01:14 +00:00
nacin 4e3c7fddd0 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: http://svn.automattic.com/wordpress/trunk@14928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 03:13:16 +00:00
ryan 1a552dd029 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@14924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 02:42:15 +00:00
nacin 15d96a96b9 Handle current menu item classes for post pages. props filosofo, fixes #13543.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 02:38:31 +00:00
nacin cb826a30ff New admin menu notification bubble color. props JohnONolan, fixes #13474.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 00:59:15 +00:00
nacin b0e128e69b Don't hide early nav menu instructions until the menu is no longer empty. props koopersmith, see #13525
git-svn-id: http://svn.automattic.com/wordpress/trunk@14917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 00:41:18 +00:00
wpmuguru b8187fcd54 allow main site 404 URL to be filtered, fixes #12758
git-svn-id: http://svn.automattic.com/wordpress/trunk@14911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 23:41:36 +00:00
ryan cf3466579b Menu notice and stlying fixes. Props filosofo. fixes #12812
git-svn-id: http://svn.automattic.com/wordpress/trunk@14905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 21:44:34 +00:00
nacin 16f79e5377 Remove unused/duplicated/undocumented post type object label. see #13539
git-svn-id: http://svn.automattic.com/wordpress/trunk@14903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 19:25:27 +00:00
nacin 479d1d3617 Fix typo. props rovo89, fixes #13494.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 18:59:20 +00:00
nacin b04dfafeac Use a post type object label for edit_post_link's title attribute. props sc0ttkclark.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 18:55:51 +00:00
ryan 57b34ed1a4 Back compat menu classes. see #12812 #13379
git-svn-id: http://svn.automattic.com/wordpress/trunk@14900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 18:54:42 +00:00
nacin 8aae431b3a Use a filter instead of a new NO404REDIRECT constant. see #12758.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 18:12:14 +00:00
ryan 7d1d1015f5 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@14896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 17:47:52 +00:00
donncha 22305da3a3 Cast "public" as an int to ensure it gets set correctly.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 16:57:32 +00:00
ryan 31b8da5ae5 Classes for posts and terms in the menus. see #13379
git-svn-id: http://svn.automattic.com/wordpress/trunk@14891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 16:51:09 +00:00
nacin 542c648ac5 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: http://svn.automattic.com/wordpress/trunk@14887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 15:36:23 +00:00
wpmuguru ec8d5fee12 cleanup $indents, props filosofo, see #12758
git-svn-id: http://svn.automattic.com/wordpress/trunk@14885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 15:31:28 +00:00