Ryan Boren
|
aa561cd06c
|
Unique menu container ids. Props filosofo. fixes #13597
git-svn-id: https://develop.svn.wordpress.org/trunk@15034 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-28 16:32:57 +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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
Andrew Nacin
|
ec0823ce3e
|
Proper checks for current-menu-item. props duck_, fixes #13409.
git-svn-id: https://develop.svn.wordpress.org/trunk@14824 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-23 22:01:08 +00:00 |
|
Ryan Boren
|
6d183a8505
|
Don't look for a fallback menu when a specific location is requested. Props tinkerpriest. see #13378
git-svn-id: https://develop.svn.wordpress.org/trunk@14793 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-21 20:28:11 +00:00 |
|
Andrew Nacin
|
e005e28966
|
Inline docs for menu location functions. props jorbin, see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14721 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-18 05:59:25 +00:00 |
|
Andrew Nacin
|
317abe4473
|
Remove p tag from allowed nav menu container tags. Cannot validly contain block level elements. props Jorbin, fixes #13349.
git-svn-id: https://develop.svn.wordpress.org/trunk@14666 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-15 15:05:57 +00:00 |
|
Andrew Nacin
|
4db10bf0d7
|
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: https://develop.svn.wordpress.org/trunk@14620 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-14 06:20:30 +00:00 |
|
Ron Rennick
|
05b0578c06
|
add menu slots/theme_menus, props ryan, see #13378
git-svn-id: https://develop.svn.wordpress.org/trunk@14611 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 22:14:54 +00:00 |
|
Andrew Nacin
|
6e9e34fb52
|
More wp_navMore inline doc clarifications for wp_nav_menu. fixes #13370, props jorbin.
git-svn-id: https://develop.svn.wordpress.org/trunk@14605 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 19:07:08 +00:00 |
|
Andrew Nacin
|
96d6225aa1
|
More inline doc clarifications for wp_nav_menu. fixes #13370, props jorbin.
git-svn-id: https://develop.svn.wordpress.org/trunk@14604 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 18:47:35 +00:00 |
|
Ryan Boren
|
e628d300b0
|
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: https://develop.svn.wordpress.org/trunk@14600 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 16:44:12 +00:00 |
|
Andrew Nacin
|
39edf881e0
|
Allow wp_nav_menu_items filters to run on the backend as well. props NathanRice, fixes #13371.
git-svn-id: https://develop.svn.wordpress.org/trunk@14592 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 03:50:26 +00:00 |
|
Andrew Nacin
|
a523060469
|
Nav menu inline doc fixes. props NathanRice, fixes #13370.
git-svn-id: https://develop.svn.wordpress.org/trunk@14591 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 03:46:35 +00:00 |
|
Nikolay Bachiyski
|
ad3881470e
|
I18n for custom post type labels. Props demetris, dimadin. Fixes #12968
git-svn-id: https://develop.svn.wordpress.org/trunk@14571 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 19:52:50 +00:00 |
|
Ryan Boren
|
b726ce95dc
|
Unset some vars when done with them to reduce peak memory usage. see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14559 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 14:39:00 +00:00 |
|
Ryan Boren
|
c0e02a6677
|
No need to setup the nav menu items again. wp_get_nav_menu_items() handles it. see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14558 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 14:25:10 +00:00 |
|
Ryan Boren
|
581779a30d
|
Don't call wp_get_nav_menu_items() twice.
git-svn-id: https://develop.svn.wordpress.org/trunk@14529 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-10 01:11:04 +00:00 |
|
Andrew Nacin
|
465cce3e6a
|
Revert [14434] et al. Going back to checkboxes in the nav menus, holding drag-drop for future release. see #13247.
git-svn-id: https://develop.svn.wordpress.org/trunk@14471 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 14:09:10 +00:00 |
|
Andrew Nacin
|
1ec3a58cd1
|
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: https://develop.svn.wordpress.org/trunk@14457 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-04 22:01:56 +00:00 |
|
Andrew Nacin
|
6034c105d6
|
Non-JS menu ordering fixes, also parent handling fixes. props filosofo, fixes #13135, fixes #13249
git-svn-id: https://develop.svn.wordpress.org/trunk@14450 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-04 19:40:04 +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
|
f01af5fefd
|
Bail when there is neither a menu, or a fallback. props ptahdunbar, fixes #13006.
git-svn-id: https://develop.svn.wordpress.org/trunk@14415 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 22:03:52 +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 |
|
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
|
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 |
|
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 |
|
Peter Westwood
|
dcdde9cb36
|
Allow a theme to set an id on the container object for the wp_nav_menu output. Fixes #13057 props thee17.
git-svn-id: https://develop.svn.wordpress.org/trunk@14182 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-21 21:32:08 +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 |
|
Mark Jaquith
|
0a85b39a4f
|
These nav_menu parameters should not be esc_html()d. fixes #12715. props ptahdunbar
git-svn-id: https://develop.svn.wordpress.org/trunk@14013 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-06 02:43:23 +00:00 |
|
Andrew Nacin
|
502eb9d1d5
|
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: https://develop.svn.wordpress.org/trunk@13974 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-03 22:52:30 +00:00 |
|
Andrew Nacin
|
20ebe2a218
|
File-level phpdoc for nav-menu-template.php. Also, @subpackage cannot contain spaces.
git-svn-id: https://develop.svn.wordpress.org/trunk@13897 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-31 07:54:09 +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 |
|
Andrew Nacin
|
6eb9146145
|
Fix notice for when no menus are located. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13743 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-17 21:34:24 +00:00 |
|
Peter Westwood
|
fc7db66476
|
Fix notice in wp_nav_menu when the menu doesn't exist.
git-svn-id: https://develop.svn.wordpress.org/trunk@13738 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-17 19:33:20 +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 |
|
Ryan Boren
|
a62734b401
|
Fix menu item type labels. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13731 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-17 16:18:41 +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 |
|