Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/15/2012 08:18:36 PM (11 years ago)
Author:
r-a-y
Message:

Theme Compat:

  • On a single activity permalink page, use the activity permalink template and make sure we don't use the members home template.
  • Props imath.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-screens.php

    r6414 r6417  
    307307        // User page
    308308        } elseif ( bp_is_user() ) {
     309            // If we're on a single activity permalink page, we shouldn't use the members
     310            // template, so stop here!
     311            if ( bp_is_active( 'activity' ) && bp_is_single_activity() )
     312                return;
     313
    309314            add_action( 'bp_template_include_reset_dummy_post_data', array( $this, 'single_dummy_post'    ) );
    310315            add_filter( 'bp_replace_the_content',                    array( $this, 'single_dummy_content' ) );
Note: See TracChangeset for help on using the changeset viewer.