Changeset 28500 for trunk/src/wp-admin/includes/template.php
- Timestamp:
- 05/19/2014 05:03:44 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r28411 r28500 36 36 * @param array $args An array of arguments. @see wp_terms_checklist() 37 37 */ 38 function start_lvl( &$output, $depth = 0, $args = array() ) {38 public function start_lvl( &$output, $depth = 0, $args = array() ) { 39 39 $indent = str_repeat("\t", $depth); 40 40 $output .= "$indent<ul class='children'>\n"; … … 52 52 * @param array $args An array of arguments. @see wp_terms_checklist() 53 53 */ 54 function end_lvl( &$output, $depth = 0, $args = array() ) {54 public function end_lvl( &$output, $depth = 0, $args = array() ) { 55 55 $indent = str_repeat("\t", $depth); 56 56 $output .= "$indent</ul>\n"; … … 70 70 * @param int $id ID of the current term. 71 71 */ 72 function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) {72 public function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) { 73 73 if ( empty( $args['taxonomy'] ) ) { 74 74 $taxonomy = 'category'; … … 107 107 * @param array $args An array of arguments. @see wp_terms_checklist() 108 108 */ 109 function end_el( &$output, $category, $depth = 0, $args = array() ) {109 public function end_el( &$output, $category, $depth = 0, $args = array() ) { 110 110 $output .= "</li>\n"; 111 111 }
Note: See TracChangeset
for help on using the changeset viewer.