Changeset 19679 for trunk/wp-includes/category-template.php
- Timestamp:
- 01/04/2012 11:03:46 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/category-template.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category-template.php
r19273 r19679 798 798 * @param array $args Will only append content if style argument value is 'list'. 799 799 */ 800 function start_lvl( &$output, $depth, $args) {800 function start_lvl( &$output, $depth = 0, $args = array() ) { 801 801 if ( 'list' != $args['style'] ) 802 802 return; … … 814 814 * @param array $args Will only append content if style argument value is 'list'. 815 815 */ 816 function end_lvl( &$output, $depth, $args) {816 function end_lvl( &$output, $depth = 0, $args = array() ) { 817 817 if ( 'list' != $args['style'] ) 818 818 return; … … 831 831 * @param array $args 832 832 */ 833 function start_el( &$output, $category, $depth, $args) {833 function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) { 834 834 extract($args); 835 835 … … 906 906 * @param array $args Only uses 'list' for whether should append to output. 907 907 */ 908 function end_el( &$output, $page, $depth, $args) {908 function end_el( &$output, $page, $depth = 0, $args = array() ) { 909 909 if ( 'list' != $args['style'] ) 910 910 return; … … 947 947 * @param array $args Uses 'selected', 'show_count', and 'show_last_update' keys, if they exist. 948 948 */ 949 function start_el( &$output, $category, $depth, $args) {949 function start_el( &$output, $category, $depth, $args, $id = 0 ) { 950 950 $pad = str_repeat(' ', $depth * 3); 951 951
Note: See TracChangeset
for help on using the changeset viewer.