- Timestamp:
- 02/05/2020 07:23:25 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-walker-nav-menu-checklist.php
r47122 r47189 31 31 * @since 3.0.0 32 32 * 33 * @param string $output Used to append additional content (passed by reference).34 * @param int $depth Depth of page. Used for padding.35 * @param array$args Not used.33 * @param string $output Used to append additional content (passed by reference). 34 * @param int $depth Depth of page. Used for padding. 35 * @param stdClass $args Not used. 36 36 */ 37 public function start_lvl( &$output, $depth = 0, $args = array()) {37 public function start_lvl( &$output, $depth = 0, $args = null ) { 38 38 $indent = str_repeat( "\t", $depth ); 39 39 $output .= "\n$indent<ul class='children'>\n"; … … 47 47 * @since 3.0.0 48 48 * 49 * @param string $output Used to append additional content (passed by reference).50 * @param int $depth Depth of page. Used for padding.51 * @param array$args Not used.49 * @param string $output Used to append additional content (passed by reference). 50 * @param int $depth Depth of page. Used for padding. 51 * @param stdClass $args Not used. 52 52 */ 53 public function end_lvl( &$output, $depth = 0, $args = array()) {53 public function end_lvl( &$output, $depth = 0, $args = null ) { 54 54 $indent = str_repeat( "\t", $depth ); 55 55 $output .= "\n$indent</ul>"; … … 66 66 * @global int|string $nav_menu_selected_id 67 67 * 68 * @param string $output Used to append additional content (passed by reference).69 * @param object$item Menu item data object.70 * @param int $depth Depth of menu item. Used for padding.71 * @param array$args Not used.72 * @param int $id Not used.68 * @param string $output Used to append additional content (passed by reference). 69 * @param WP_Post $item Menu item data object. 70 * @param int $depth Depth of menu item. Used for padding. 71 * @param stdClass $args Not used. 72 * @param int $id Not used. 73 73 */ 74 public function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {74 public function start_el( &$output, $item, $depth = 0, $args = null, $id = 0 ) { 75 75 global $_nav_menu_placeholder, $nav_menu_selected_id; 76 76
Note: See TracChangeset
for help on using the changeset viewer.