Changeset 5908 for trunk/src/includes/core/template-functions.php
- Timestamp:
- 08/11/2015 08:17:53 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/core/template-functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/core/template-functions.php
r5829 r5908 322 322 // Sort 323 323 if ( ! isset( $merged_filters[ $tag ] ) ) { 324 ksort( $wp_filter[ $tag] );324 ksort( $wp_filter[ $tag ] ); 325 325 $merged_filters[ $tag ] = true; 326 326 } … … 331 331 // Loop through 'bbp_template_stack' filters, and call callback functions 332 332 do { 333 foreach ( (array) current( $wp_filter[ $tag] ) as $the_ ) {333 foreach ( (array) current( $wp_filter[ $tag ] ) as $the_ ) { 334 334 if ( ! is_null( $the_['function'] ) ) { 335 335 $args[1] = $stack; … … 337 337 } 338 338 } 339 } while ( next( $wp_filter[ $tag] ) !== false );339 } while ( next( $wp_filter[ $tag ] ) !== false ); 340 340 341 341 // Remove 'bbp_template_stack' from the current filter array
Note: See TracChangeset
for help on using the changeset viewer.