Commit Graph

78 Commits

Author SHA1 Message Date
nacin
fee56ae40f gettext. see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 02:51:09 +00:00
nacin
7eedc2359d Implement the Cancel menu item link for no JS. props ocean90, see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 02:49:11 +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
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
1fa281b08c Ajaxify pagination requests in menu boxes. Props filosofo. fixes #13204
git-svn-id: http://svn.automattic.com/wordpress/trunk@14943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 14:49:43 +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
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
nacin
7a5d3f2688 First pass on better UX for menu item save. props koopersmith, see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 19:50:20 +00:00
ryan
364584e3d9 Better text for locations box. Props filosofo. fixes #13520 see #13378
git-svn-id: http://svn.automattic.com/wordpress/trunk@14846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 19:27:57 +00:00
nacin
9e27536540 Styling for menu locations howto text. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 11:20:58 +00:00
nacin
c83e17c1ce Some menu string improvements. props JohnONolan. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 09:26:41 +00:00
westi
24354ccdb4 Don't output empty html wrappers if no page numbers. Fixes #13497 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-23 07:43:07 +00:00
nacin
628d7b8286 Most Recent tab for nav menu meta boxes for post types. props filosofo, see #13217.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-21 23:32:45 +00:00
ryan
f8f9eff02d Some explanatory text for the theme locations box. see #13378
git-svn-id: http://svn.automattic.com/wordpress/trunk@14767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 21:25:25 +00:00
ryan
2d3d649182 Menu styling fixes for IE. Props filosofo, ocean90. fixes #13388 #13348
git-svn-id: http://svn.automattic.com/wordpress/trunk@14761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-20 19:33:57 +00:00
ryan
ca5d99a7d7 Order pages in menu box by menu_order, title. Props filosofo. see #13329
git-svn-id: http://svn.automattic.com/wordpress/trunk@14744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 14:34:29 +00:00
nacin
b4c50f1b5e Rename wp_save_nav_menu_item to wp_save_nav_menu_items. Though it could handle one item, it expects a mess of post data containing an array of menu items. see #13447.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 05:59:43 +00:00
nacin
f02fddce86 Save menu locations meta box via ajax. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-17 23:58:56 +00:00
nacin
6c01265794 First pass at fixing search for add menu item boxes. props koopersmith, see #13283.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 05:39:53 +00:00
westi
5672ca994e Fix the column headers title override to use a special name rather than one we use elsewhere.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 20:57:17 +00:00
nacin
f7d0fcb9d0 Truncate long menu names in the menu locations box. props koopersmith, see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 20:00:48 +00:00
ryan
25dcb020af Add wp_edit_nav_menu_walker filter for specifying a custom edit nav menu walker. Props filosofo. fixes #13342
git-svn-id: http://svn.automattic.com/wordpress/trunk@14645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 20:06:50 +00:00
westi
867628913e Try and tidy up the show_screen logic a little.
Implement a better override of the column header.
See #13393.

git-svn-id: http://svn.automattic.com/wordpress/trunk@14638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 16:45:14 +00:00
nacin
d12cdce1b0 Only show published items of custom post types in nav menu meta boxes. props duck_, fixes #13390.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 13:12:45 +00:00
nacin
c5d2cdc52d Only show Theme Locations meta box if menus exist and if the theme has registered menus. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 06:35:57 +00:00
nacin
a743de0788 First pass on 'Theme Locations' for navigation menus. Themes need to specify a location when calling wp_nav_menu and register locations in functions.php. Users then map menus to locations in the nav menu admin. Subject to review. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 06:20:30 +00:00
nbachiyski
4cf46b6d96 I18n for custom taxonomies. Fixes #13357
git-svn-id: http://svn.automattic.com/wordpress/trunk@14614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 00:34:04 +00:00
ryan
067fc117cb Add show_in_nav_menus flag to post type registration. Props williamsba1. fixes #13144
git-svn-id: http://svn.automattic.com/wordpress/trunk@14602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 17:29:45 +00:00
ryan
282f3be632 Limit initial menu meta boxes only if option is not set. Props ocean90. fixes #13359
git-svn-id: http://svn.automattic.com/wordpress/trunk@14598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 16:21:21 +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
ryan
321b1a613f Don't wp_count_terms(). Just count the results returned from get_terms(), which has to run anyway. see #12734
git-svn-id: http://svn.automattic.com/wordpress/trunk@14569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 18:55:12 +00:00
ryan
345af3eb47 Don't update term or meta cache for posts queried in wp_nav_menu_item_post_type_meta_box(). see #12734
git-svn-id: http://svn.automattic.com/wordpress/trunk@14568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 18:43:12 +00:00
ryan
bdb53fa4c3 No need to recount. see #12734
git-svn-id: http://svn.automattic.com/wordpress/trunk@14567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 18:38:51 +00:00
nacin
1e13b43af0 Ensure valid HTML in the nav menu UI. props ocean90, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 19:19:53 +00:00
nacin
e34150ab5b Revert [14434] et al. Going back to checkboxes in the nav menus, holding drag-drop for future release. see #13247.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-06 14:09:10 +00:00
nacin
eded683486 Non-JS menu ordering fixes, also parent handling fixes. props filosofo, fixes #13135, fixes #13249
git-svn-id: http://svn.automattic.com/wordpress/trunk@14450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 19:40:04 +00:00
nacin
0891a9dea0 More menu improvements. Add link that adds a menu item to the home page, make empty menu dropzone slightly larger, limit selected items to the active tab. props koopersmith and ptahdunbar. see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 10:01:15 +00:00
nacin
7466fadd24 Add ability to drag objects from meta boxes and drop them into your menu. Includes multiple-select before dragging. Select all is todo. Checkboxes remain non-JS fallback. props koopersmith, see #13247.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 07:24:49 +00:00
nacin
623461e9cf Fix non-JS menu item close button. props duck_, fixes #13203
git-svn-id: http://svn.automattic.com/wordpress/trunk@14423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 23:08:02 +00:00
nacin
b093a66876 Fix JS error in autocomplete. props koopersmith, see #13205.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:31:34 +00:00
ryan
7b7243d94a Strip trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:26:11 +00:00
ryan
172aa06718 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:16:22 +00:00
ryan
6e0ddc4abc Nav menu tweaks. Props ptahdunbar. see #13220
git-svn-id: http://svn.automattic.com/wordpress/trunk@14352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 23:40:34 +00:00
ryan
91354eefee Escape links by default. Props alexkingorg. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:53:59 +00:00
nacin
16f6590bc3 Alot of drag/drop/sortable improvements to nav menu admin UI. props koopersmith, fixes #12675.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 19:09:10 +00:00
ryan
de71b22e0e Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@14306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 19:16:21 +00:00
ryan
8420f41a24 Fix initial hidden meta boxes for nav menus. see #13134
git-svn-id: http://svn.automattic.com/wordpress/trunk@14304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 18:27:46 +00:00
ryan
62a5269eed Partially fix default hidden meta boxes for nav menus. see #13134
git-svn-id: http://svn.automattic.com/wordpress/trunk@14301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 17:47:11 +00:00
nacin
d1a37c1f31 When posts/terms are deleted/trashed, update associated menu items. Deleted post = deleted menu item, trashed post = menu item becomes a draft. props filosofo, see #13174
git-svn-id: http://svn.automattic.com/wordpress/trunk@14295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 07:33:56 +00:00
nacin
7bb32597b7 Fix the ajax loading/processing spinner for nav menu meta boxes. see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 07:10:54 +00:00