Changeset 19679 for trunk/wp-includes/post-template.php
- Timestamp:
- 01/04/2012 11:03:46 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/post-template.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-template.php
r19677 r19679 995 995 * @param int $depth Depth of page. Used for padding. 996 996 */ 997 function start_lvl( &$output, $depth) {997 function start_lvl( &$output, $depth = 0, $args = array() ) { 998 998 $indent = str_repeat("\t", $depth); 999 999 $output .= "\n$indent<ul class='children'>\n"; … … 1007 1007 * @param int $depth Depth of page. Used for padding. 1008 1008 */ 1009 function end_lvl( &$output, $depth) {1009 function end_lvl( &$output, $depth = 0, $args = array() ) { 1010 1010 $indent = str_repeat("\t", $depth); 1011 1011 $output .= "$indent</ul>\n"; … … 1022 1022 * @param array $args 1023 1023 */ 1024 function start_el( &$output, $page, $depth, $args, $current_page) {1024 function start_el( &$output, $page, $depth, $args, $current_page = 0 ) { 1025 1025 if ( $depth ) 1026 1026 $indent = str_repeat("\t", $depth); … … 1065 1065 * @param int $depth Depth of page. Not Used. 1066 1066 */ 1067 function end_el( &$output, $page, $depth) {1067 function end_el( &$output, $page, $depth = 0, $args = array() ) { 1068 1068 $output .= "</li>\n"; 1069 1069 } … … 1103 1103 * @param array $args Uses 'selected' argument for selected page to set selected HTML attribute for option element. 1104 1104 */ 1105 function start_el(&$output, $page, $depth, $args ) {1105 function start_el(&$output, $page, $depth, $args, $id = 0) { 1106 1106 $pad = str_repeat(' ', $depth * 3); 1107 1107
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)