Changeset 28500 for trunk/src/wp-admin/includes/nav-menu.php
- Timestamp:
- 05/19/2014 05:03:44 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/nav-menu.php
r28300 r28500 20 20 * @param array $args Not used. 21 21 */ 22 function start_lvl( &$output, $depth = 0, $args = array() ) {}22 public function start_lvl( &$output, $depth = 0, $args = array() ) {} 23 23 24 24 /** … … 33 33 * @param array $args Not used. 34 34 */ 35 function end_lvl( &$output, $depth = 0, $args = array() ) {}35 public function end_lvl( &$output, $depth = 0, $args = array() ) {} 36 36 37 37 /** … … 47 47 * @param int $id Not used. 48 48 */ 49 function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {49 public function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) { 50 50 global $_wp_nav_menu_max_depth; 51 51 $_wp_nav_menu_max_depth = $depth > $_wp_nav_menu_max_depth ? $depth : $_wp_nav_menu_max_depth; … … 236 236 */ 237 237 class Walker_Nav_Menu_Checklist extends Walker_Nav_Menu { 238 function __construct( $fields = false ) {238 public function __construct( $fields = false ) { 239 239 if ( $fields ) { 240 240 $this->db_fields = $fields; … … 253 253 * @param array $args Not used. 254 254 */ 255 function start_lvl( &$output, $depth = 0, $args = array() ) {255 public function start_lvl( &$output, $depth = 0, $args = array() ) { 256 256 $indent = str_repeat( "\t", $depth ); 257 257 $output .= "\n$indent<ul class='children'>\n"; … … 269 269 * @param array $args Not used. 270 270 */ 271 function end_lvl( &$output, $depth = 0, $args = array() ) {271 public function end_lvl( &$output, $depth = 0, $args = array() ) { 272 272 $indent = str_repeat( "\t", $depth ); 273 273 $output .= "\n$indent</ul>"; … … 287 287 * @param int $id Not used. 288 288 */ 289 function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {289 public function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) { 290 290 global $_nav_menu_placeholder; 291 291
Note: See TracChangeset
for help on using the changeset viewer.