Changeset 19679 for trunk/wp-includes/comment-template.php
- Timestamp:
- 01/04/2012 11:03:46 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-template.php
r19593 r19679 1239 1239 * @param array $args Uses 'style' argument for type of HTML list. 1240 1240 */ 1241 function start_lvl( &$output, $depth, $args) {1241 function start_lvl( &$output, $depth = 0, $args = array() ) { 1242 1242 $GLOBALS['comment_depth'] = $depth + 1; 1243 1243 … … 1263 1263 * @param array $args Will only append content if style argument value is 'ol' or 'ul'. 1264 1264 */ 1265 function end_lvl( &$output, $depth, $args) {1265 function end_lvl( &$output, $depth = 0, $args = array() ) { 1266 1266 $GLOBALS['comment_depth'] = $depth + 1; 1267 1267 … … 1327 1327 * @param array $args 1328 1328 */ 1329 function start_el( &$output, $comment, $depth, $args) {1329 function start_el( &$output, $comment, $depth, $args, $id = 0 ) { 1330 1330 $depth++; 1331 1331 $GLOBALS['comment_depth'] = $depth; … … 1387 1387 * @param array $args 1388 1388 */ 1389 function end_el(&$output, $comment, $depth , $args) {1389 function end_el(&$output, $comment, $depth = 0, $args = array() ) { 1390 1390 if ( !empty($args['end-callback']) ) { 1391 1391 call_user_func($args['end-callback'], $comment, $args, $depth);
Note: See TracChangeset
for help on using the changeset viewer.