Commit Graph

42 Commits

Author SHA1 Message Date
Andrew Nacin 16d48e323b 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: https://develop.svn.wordpress.org/trunk@14439 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 10:01:15 +00:00
Andrew Nacin a87ced35aa 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: https://develop.svn.wordpress.org/trunk@14434 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 07:24:49 +00:00
Andrew Nacin f7dfc84136 Fix non-JS menu item close button. props duck_, fixes #13203
git-svn-id: https://develop.svn.wordpress.org/trunk@14423 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 23:08:02 +00:00
Andrew Nacin 60ae097b78 Fix JS error in autocomplete. props koopersmith, see #13205.
git-svn-id: https://develop.svn.wordpress.org/trunk@14405 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:31:34 +00:00
Ryan Boren d783952469 Strip trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:26:11 +00:00
Ryan Boren 57a5a11660 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Ryan Boren 37804526a0 Nav menu tweaks. Props ptahdunbar. see #13220
git-svn-id: https://develop.svn.wordpress.org/trunk@14352 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 23:40:34 +00:00
Ryan Boren 7fcda10d46 Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Andrew Nacin 103e30ed7e Alot of drag/drop/sortable improvements to nav menu admin UI. props koopersmith, fixes #12675.
git-svn-id: https://develop.svn.wordpress.org/trunk@14337 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 19:09:10 +00:00
Ryan Boren b46e129883 Remove debug
git-svn-id: https://develop.svn.wordpress.org/trunk@14306 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 19:16:21 +00:00
Ryan Boren 12fc1ca1b7 Fix initial hidden meta boxes for nav menus. see #13134
git-svn-id: https://develop.svn.wordpress.org/trunk@14304 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 18:27:46 +00:00
Ryan Boren bd14ce7734 Partially fix default hidden meta boxes for nav menus. see #13134
git-svn-id: https://develop.svn.wordpress.org/trunk@14301 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 17:47:11 +00:00
Andrew Nacin 5dbf47294f 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: https://develop.svn.wordpress.org/trunk@14295 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 07:33:56 +00:00
Andrew Nacin e70f958bff Fix the ajax loading/processing spinner for nav menu meta boxes. see #13134.
git-svn-id: https://develop.svn.wordpress.org/trunk@14293 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 07:10:54 +00:00
Andrew Nacin 3f9d235435 Remove unnecessary single tab and second border in the custom links nav menu widget.
git-svn-id: https://develop.svn.wordpress.org/trunk@14292 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 06:11:44 +00:00
Andrew Nacin ffc6b5e799 Show 'no items' message in post/tax meta boxes for nav menu admin instead of empty tabs.
git-svn-id: https://develop.svn.wordpress.org/trunk@14291 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 06:01:44 +00:00
Andrew Nacin 5a46795d60 Nav menu UI updates. props koopersmith, see #13134.
git-svn-id: https://develop.svn.wordpress.org/trunk@14287 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 03:43:39 +00:00
Andrew Nacin b8f8327393 Fix handling of nav menu search, also menu naming conflicts. props filosofo, fixes #13138
git-svn-id: https://develop.svn.wordpress.org/trunk@14285 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 20:44:08 +00:00
Andrew Nacin c5eb9e9c61 More nav menu fixes. props filosofo. see #13148. fixes #13155, fixes #13157, fixes #13138, see #13134.
git-svn-id: https://develop.svn.wordpress.org/trunk@14283 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 18:30:32 +00:00
Andrew Nacin aeb062fbc5 Give menu items a default 'draft' state when added to the menu. props filosofo, fixes #13149
git-svn-id: https://develop.svn.wordpress.org/trunk@14271 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 05:02:09 +00:00
Andrew Nacin 610abdf2a5 Some menus meta box cleanups. props filosofo, see #13143.
git-svn-id: https://develop.svn.wordpress.org/trunk@14267 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 04:09:00 +00:00
Ryan Boren 77be931ef4 New menu UI. Props filosofo. see #12713
git-svn-id: https://develop.svn.wordpress.org/trunk@14248 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-27 01:05:58 +00:00
Ryan Boren 93e7f711ad Change meta-box-hidden to metaboxhidden to adjust for new key sanitization rules and maintain the same key name as 2.9. fixes #13032
git-svn-id: https://develop.svn.wordpress.org/trunk@14113 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 17:44:38 +00:00
Andrew Nacin b8efedcb23 Account for WP_Error from get_terms() in the nav menu tax metabox. fixes #12949, props ptahdunbar.
git-svn-id: https://develop.svn.wordpress.org/trunk@14048 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 10:47:31 +00:00
Ryan Boren 96ea328c0a Nav menu fixes. Props ptahdunbar. see #12896 fixes #12844
git-svn-id: https://develop.svn.wordpress.org/trunk@14031 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 15:25:48 +00:00
Andrew Nacin 5d940a955b Fix broken string.
git-svn-id: https://develop.svn.wordpress.org/trunk@14008 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 09:31:38 +00:00
Andrew Nacin 4f5a2095a8 Remove trailing whites and double semicolons.
git-svn-id: https://develop.svn.wordpress.org/trunk@13830 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:36:49 +00:00
Andrew Nacin 94ec7ba0eb Various bug fixes and improvements to menu management. props ptahdunbar, see #11817.
git-svn-id: https://develop.svn.wordpress.org/trunk@13802 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 19:56:16 +00:00
Mark Jaquith 1192ddf4f9 Nav Menus: blur/Focus behavior for Create Menu and Add Custom Links. Route "return" presses in each of those areas to proper button press. Better create/save logic on the PHP side.
git-svn-id: https://develop.svn.wordpress.org/trunk@13739 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 19:57:08 +00:00
Ryan Boren e61755c853 Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13733 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:27:25 +00:00
Mark Jaquith 3c5e5e8679 Unlimited number of pages and custom links for nav-menu. Todo: AJAX-based autocomplete, so this scales better. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13727 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 06:33:53 +00:00
Mark Jaquith 7b72877a6e Remove half-baked transient caching of nav-menu source results from [13704]. Todo: reimplement with proper cache invalidation. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13726 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 06:10:47 +00:00
Mark Jaquith 8bca8131a6 More pedantry. "Setup" is not a verb. http://notaverb.com/setup
git-svn-id: https://develop.svn.wordpress.org/trunk@13725 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 04:39:50 +00:00
Ryan Boren 5e9792f9f7 Menu item -> append should be a key/name, not a label. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13722 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 22:01:49 +00:00
Ryan Boren d1603a4246 Introduce taxonomies_allowed_in_menus and post_types_allowed_in_menus. Show only pages and categories by default. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13716 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 17:22:24 +00:00
Ryan Boren 586b69b6f6 Use get_permalink() instead of get_post_permalink(). Limit to published post types. see #11817 #12566
git-svn-id: https://develop.svn.wordpress.org/trunk@13714 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 16:34:30 +00:00
Ryan Boren d710af9830 Menus rework. Props ptahdunbar. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13704 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 16:26:46 +00:00
Ryan Boren 2dad638a0e Menu enhancements. Props ptahdunbar. fixes #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13512 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 20:00:49 +00:00
Ron Rennick ed52a823cc more menu improvements, props ptahdunbar, see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13473 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 23:06:56 +00:00
Ryan Boren e52fa727be Nav menu cleanups. Props nbachiyski. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13375 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 18:52:54 +00:00
Mark Jaquith 0c7e56f2e2 Remove Resetting, remove Enabling, enable deletion, etc. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13369 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 09:43:09 +00:00
Ryan Boren d357c80caf Reorg nav menu files. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13366 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 08:06:36 +00:00