Changeset 28514 for trunk/src/wp-includes/nav-menu-template.php
- Timestamp:
- 05/19/2014 05:59:07 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/nav-menu-template.php
r28330 r28514 22 22 * @var string 23 23 */ 24 var$tree_type = array( 'post_type', 'taxonomy', 'custom' );24 public $tree_type = array( 'post_type', 'taxonomy', 'custom' ); 25 25 26 26 /** … … 32 32 * @var array 33 33 */ 34 var$db_fields = array( 'parent' => 'menu_item_parent', 'id' => 'db_id' );34 public $db_fields = array( 'parent' => 'menu_item_parent', 'id' => 'db_id' ); 35 35 36 36 /** … … 45 45 * @param array $args An array of arguments. @see wp_nav_menu() 46 46 */ 47 function start_lvl( &$output, $depth = 0, $args = array() ) {47 public function start_lvl( &$output, $depth = 0, $args = array() ) { 48 48 $indent = str_repeat("\t", $depth); 49 49 $output .= "\n$indent<ul class=\"sub-menu\">\n"; … … 61 61 * @param array $args An array of arguments. @see wp_nav_menu() 62 62 */ 63 function end_lvl( &$output, $depth = 0, $args = array() ) {63 public function end_lvl( &$output, $depth = 0, $args = array() ) { 64 64 $indent = str_repeat("\t", $depth); 65 65 $output .= "$indent</ul>\n"; … … 79 79 * @param int $id Current item ID. 80 80 */ 81 function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {81 public function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) { 82 82 $indent = ( $depth ) ? str_repeat( "\t", $depth ) : ''; 83 83 … … 187 187 * @param array $args An array of arguments. @see wp_nav_menu() 188 188 */ 189 function end_el( &$output, $item, $depth = 0, $args = array() ) {189 public function end_el( &$output, $item, $depth = 0, $args = array() ) { 190 190 $output .= "</li>\n"; 191 191 }
Note: See TracChangeset
for help on using the changeset viewer.