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 |
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 |
ryan
|
3403e7eb8f
|
Add ancestor classes. Props filosofo. see #12812
git-svn-id: http://svn.automattic.com/wordpress/trunk@14881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-25 14:25:06 +00:00 |
ryan
|
c99361e78f
|
Add parent classes to nav menu. Props filosofo. see #12812
git-svn-id: http://svn.automattic.com/wordpress/trunk@14876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-25 13:30:10 +00:00 |
nacin
|
231be64801
|
Proper checks for current-menu-item. props duck_, fixes #13409.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-23 22:01:08 +00:00 |
ryan
|
3841acea6c
|
Don't look for a fallback menu when a specific location is requested. Props tinkerpriest. see #13378
git-svn-id: http://svn.automattic.com/wordpress/trunk@14793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-21 20:28:11 +00:00 |
nacin
|
77a67b3fed
|
Inline docs for menu location functions. props jorbin, see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-18 05:59:25 +00:00 |
nacin
|
0f377dabc0
|
Remove p tag from allowed nav menu container tags. Cannot validly contain block level elements. props Jorbin, fixes #13349.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-15 15:05: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 |
wpmuguru
|
21bef33fc6
|
add menu slots/theme_menus, props ryan, see #13378
git-svn-id: http://svn.automattic.com/wordpress/trunk@14611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 22:14:54 +00:00 |
nacin
|
ad1747134a
|
More wp_navMore inline doc clarifications for wp_nav_menu. fixes #13370, props jorbin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 19:07:08 +00:00 |
nacin
|
08b1d88ef2
|
More inline doc clarifications for wp_nav_menu. fixes #13370, props jorbin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 18:47:35 +00:00 |
ryan
|
531feae685
|
s/wp_get_nav_menu_item/walker_nav_menu_start_el/ to be more specific. Pass all start_el() args to the filter. Props tomtomp. fixes #13366
git-svn-id: http://svn.automattic.com/wordpress/trunk@14600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 16:44:12 +00:00 |
nacin
|
c6572a1d16
|
Allow wp_nav_menu_items filters to run on the backend as well. props NathanRice, fixes #13371.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 03:50:26 +00:00 |
nacin
|
6a3d1484bf
|
Nav menu inline doc fixes. props NathanRice, fixes #13370.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-13 03:46:35 +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
|
2b930efb74
|
Unset some vars when done with them to reduce peak memory usage. see #12734
git-svn-id: http://svn.automattic.com/wordpress/trunk@14559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-11 14:39:00 +00:00 |
ryan
|
a491596163
|
No need to setup the nav menu items again. wp_get_nav_menu_items() handles it. see #12734
git-svn-id: http://svn.automattic.com/wordpress/trunk@14558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-11 14:25:10 +00:00 |
ryan
|
0c99110a58
|
Don't call wp_get_nav_menu_items() twice.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-10 01:11:04 +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
|
d63a41ca15
|
Check custom links, including a home link, against the current URL to see if we should add current-menu-item. props ptahdunbar, fixes #13213, see #13220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-04 22:01:56 +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
|
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
|
856f478a9e
|
Bail when there is neither a menu, or a fallback. props ptahdunbar, fixes #13006.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-03 22:03:52 +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 |
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 |
nacin
|
8c9f71bb57
|
More nav menu fixes. props filosofo. see #13148. fixes #13155, fixes #13157, fixes #13138, see #13134.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-28 18:30:32 +00:00 |
ryan
|
e879a9ab0e
|
New menu UI. Props filosofo. see #12713
git-svn-id: http://svn.automattic.com/wordpress/trunk@14248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-27 01:05:58 +00:00 |
westi
|
84e54974f1
|
Allow a theme to set an id on the container object for the wp_nav_menu output. Fixes #13057 props thee17.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-21 21:32:08 +00:00 |
ryan
|
96bc63439a
|
Nav menu fixes. Props ptahdunbar. see #12896 fixes #12844
git-svn-id: http://svn.automattic.com/wordpress/trunk@14031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-07 15:25:48 +00:00 |
markjaquith
|
17ee0e577a
|
These nav_menu parameters should not be esc_html()d. fixes #12715. props ptahdunbar
git-svn-id: http://svn.automattic.com/wordpress/trunk@14013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-06 02:43:23 +00:00 |
nacin
|
589997d8cb
|
Don't use target="_self" in nav menu links, just omit the attribute. Also fix and run earlier db upgrades. fixes #12808
git-svn-id: http://svn.automattic.com/wordpress/trunk@13974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-03 22:52:30 +00:00 |
nacin
|
4c5ce060ac
|
File-level phpdoc for nav-menu-template.php. Also, @subpackage cannot contain spaces.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-31 07:54:09 +00:00 |
nacin
|
40773a776b
|
Remove trailing whites and double semicolons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-26 19:36:49 +00:00 |
nacin
|
ba6f1cba07
|
Various bug fixes and improvements to menu management. props ptahdunbar, see #11817.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-22 19:56:16 +00:00 |
nacin
|
65423c7d16
|
Fix notice for when no menus are located. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-17 21:34:24 +00:00 |
westi
|
c1654c4751
|
Fix notice in wp_nav_menu when the menu doesn't exist.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-17 19:33:20 +00:00 |
ryan
|
e25a65b36a
|
Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@13733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-17 16:27:25 +00:00 |
ryan
|
f7f9b2ba71
|
Fix menu item type labels. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-17 16:18:41 +00:00 |
markjaquith
|
58d47426cc
|
More pedantry. "Setup" is not a verb. http://notaverb.com/setup
git-svn-id: http://svn.automattic.com/wordpress/trunk@13725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-17 04:39:50 +00:00 |
ryan
|
60f8f5a6aa
|
Menu item -> append should be a key/name, not a label. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-16 22:01:49 +00:00 |
ryan
|
f635d99754
|
Menus rework. Props ptahdunbar. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-15 16:26:46 +00:00 |
ryan
|
f3707c7791
|
Spacing between attributes. Props momo360modena. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-13 18:47:44 +00:00 |
ryan
|
08cf9f0d98
|
Always use lowercase strings or menu type. Don't double save custom link menu items (remove the AJAX save). see #12566
git-svn-id: http://svn.automattic.com/wordpress/trunk@13685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-12 21:57:52 +00:00 |
dd32
|
beb8322289
|
Fix notices inside wp_nav_menu(), Ensure echo => false is passed to fallback callbacks so the function doesnt print HTML directly. See #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-01 12:53:51 +00:00 |
ryan
|
25a2a06a9e
|
Menu enhancements. Props ptahdunbar. fixes #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-28 20:00:49 +00:00 |
wpmuguru
|
fcf6942d33
|
more menu improvements, props ptahdunbar, see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-27 23:06:56 +00:00 |
ryan
|
2551152255
|
Allow themes to specify a menu fllback other than wp_page_menu(). see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-25 22:00:26 +00:00 |
ryan
|
b61d45fa11
|
s/Custom Menu/Menu/. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-25 16:57:57 +00:00 |
markjaquith
|
280a19ff6c
|
Use custom fields for custom URL and new window data. Links no longer automatically open in a new window. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-25 08:48:17 +00:00 |