Skip to:
Content

BuddyPress.org

Changeset 3056


Ignore:
Timestamp:
06/20/2010 08:00:19 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Fix #2449

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-themes/bp-default/functions.php

    r2828 r3056  
    105105    global $wp_query;
    106106
    107     if ( empty( $wp_query->post->ID ) )
     107    if ( '"activity"' === $wp_query->query_vars['page_id'] )
    108108        return locate_template( array( 'activity/index.php' ), false );
    109109    else
    110110        return $template;
    111111}
    112 add_filter( 'page_template', 'bp_dtheme_page_on_front_template' );
     112add_filter( '404_template', 'bp_dtheme_page_on_front_template' );
    113113
    114114/* Return the ID of a page set as the home page. */
Note: See TracChangeset for help on using the changeset viewer.