Skip to:
Content

bbPress.org

Changeset 4283


Ignore:
Timestamp:
10/31/2012 12:20:57 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Template Locations:

  • Revert part of r4264.
  • Fix regression where bbPress was pulling in files from unexpected locations.
  • Fixes #1994.
Location:
trunk/includes/core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/core/filters.php

    r4273 r4283  
    169169// Filter bbPress template locations
    170170add_filter( 'bbp_locate_template',           'bbp_add_template_locations' );
    171 add_filter( 'bbp_get_template_part',         'bbp_add_template_locations' );
    172171add_filter( 'bbp_get_profile_template',      'bbp_add_template_locations' );
    173172add_filter( 'bbp_get_profileedit_template',  'bbp_add_template_locations' );
  • trunk/includes/core/template-functions.php

    r4264 r4283  
    6868
    6969        // Allow templates to be filtered
    70         // bbPress core automatically adds bbp_add_template_locations()
     70        // Note: if you do this, be excellent to each other
    7171        $template_names = apply_filters( 'bbp_locate_template', $template_names );
    7272
Note: See TracChangeset for help on using the changeset viewer.