Changeset 19679 for trunk/wp-includes/nav-menu-template.php
- Timestamp:
- 01/04/2012 11:03:46 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/nav-menu-template.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/nav-menu-template.php
r19657 r19679 38 38 * @param int $depth Depth of page. Used for padding. 39 39 */ 40 function start_lvl( &$output, $depth) {40 function start_lvl( &$output, $depth = 0, $args = array() ) { 41 41 $indent = str_repeat("\t", $depth); 42 42 $output .= "\n$indent<ul class=\"sub-menu\">\n"; … … 50 50 * @param int $depth Depth of page. Used for padding. 51 51 */ 52 function end_lvl( &$output, $depth) {52 function end_lvl( &$output, $depth = 0, $args = array() ) { 53 53 $indent = str_repeat("\t", $depth); 54 54 $output .= "$indent</ul>\n"; … … 65 65 * @param object $args 66 66 */ 67 function start_el( &$output, $item, $depth, $args) {67 function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) { 68 68 global $wp_query; 69 69 $indent = ( $depth ) ? str_repeat( "\t", $depth ) : ''; … … 104 104 * @param int $depth Depth of page. Not Used. 105 105 */ 106 function end_el( &$output, $item, $depth) {106 function end_el( &$output, $item, $depth = 0, $args = array() ) { 107 107 $output .= "</li>\n"; 108 108 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)