Changeset 5829 for trunk/src/includes/common/classes.php
- Timestamp:
- 07/14/2015 12:46:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/classes.php
r5770 r5829 396 396 397 397 // Check for a callback and use it if specified 398 if ( ! empty( $args['callback'] ) ) {398 if ( ! empty( $args['callback'] ) ) { 399 399 call_user_func( $args['callback'], $object, $args, $depth ); 400 400 return; … … 402 402 403 403 // Style for div or list element 404 if ( ! empty( $args['style'] ) && ( 'div' === $args['style'] ) ) {404 if ( ! empty( $args['style'] ) && ( 'div' === $args['style'] ) ) { 405 405 echo "<div>\n"; 406 406 } else { … … 417 417 418 418 // Check for a callback and use it if specified 419 if ( ! empty( $args['end-callback'] ) ) {419 if ( ! empty( $args['end-callback'] ) ) { 420 420 call_user_func( $args['end-callback'], $object, $args, $depth ); 421 421 return; … … 423 423 424 424 // Style for div or list element 425 if ( ! empty( $args['style'] ) && ( 'div' === $args['style'] ) ) {425 if ( ! empty( $args['style'] ) && ( 'div' === $args['style'] ) ) { 426 426 echo "</div>\n"; 427 427 } else {
Note: See TracChangeset
for help on using the changeset viewer.