Skip to:
Content

bbPress.org

Changeset 6121


Ignore:
Timestamp:
11/09/2016 10:59:52 PM (8 years ago)
Author:
johnjamesjacoby
Message:

Reference correct hook name in docs. Props netweb. See r5945.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/includes/core/template-functions.php

    r6119 r6121  
    309309    $args = $stack = array();
    310310
    311     // Add 'bp_template_stack' to the current filter array.
     311    // Add 'bbp_template_stack' to the current filter array.
    312312    $wp_current_filter[] = $tag;
    313313
     
    327327    reset( $filter );
    328328
    329     // Loop through 'bp_template_stack' filters, and call callback functions.
     329    // Loop through 'bbp_template_stack' filters, and call callback functions.
    330330    do {
    331331        foreach( (array) current( $filter ) as $the_ ) {
     
    337337    } while ( next( $filter ) !== false );
    338338
    339     // Remove 'bp_template_stack' from the current filter array.
     339    // Remove 'bbp_template_stack' from the current filter array.
    340340    array_pop( $wp_current_filter );
    341341
Note: See TracChangeset for help on using the changeset viewer.