Changeset 32642 for trunk/src/wp-admin/nav-menus.php
- Timestamp:
- 05/28/2015 09:40:27 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/nav-menus.php
r32116 r32642 468 468 * Ensure the user will be able to scroll horizontally 469 469 * by adding a class for the max menu depth. 470 * 471 * @global int $_wp_nav_menu_max_depth 470 472 */ 471 473 global $_wp_nav_menu_max_depth; … … 478 480 } 479 481 480 function wp_nav_menu_max_depth($classes) { 482 /** 483 * 484 * @global int $_wp_nav_menu_max_depth 485 * 486 * @param string $classes 487 * @return string 488 */ 489 function wp_nav_menu_max_depth( $classes ) { 481 490 global $_wp_nav_menu_max_depth; 482 491 return "$classes menu-max-depth-$_wp_nav_menu_max_depth";
Note: See TracChangeset
for help on using the changeset viewer.