Skip to:
Content

BuddyPress.org

Changeset 7304


Ignore:
Timestamp:
07/24/2013 08:20:58 PM (11 years ago)
Author:
johnjamesjacoby
Message:

Use correct path in BP_Members_Theme_Compat::directory_template_hierarchy(). Also some small clean-up to this method. Props imath. Fixes #5110. (1.8)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.8/bp-members/bp-members-screens.php

    r7212 r7304  
    331331     * @return array $templates Array of custom templates to look for.
    332332     */
    333     public function directory_template_hierarchy( $templates ) {
     333    public function directory_template_hierarchy( $templates = array() ) {
     334
    334335        // Setup our templates based on priority
    335336        $new_templates = apply_filters( 'bp_template_hierarchy_members_directory', array(
    336             'members/single/index-directory.php'
     337            'members/index-directory.php'
    337338        ) );
    338339
Note: See TracChangeset for help on using the changeset viewer.