Skip to:
Content

BuddyPress.org

Changeset 2678 for trunk/bp-core.php


Ignore:
Timestamp:
02/11/2010 03:48:07 PM (16 years ago)
Author:
apeatling
Message:

Moving blog and comment template loops to the backwards compatibility plugin since they are deprecated by the activity stream filters. Also moved classic template filters since the classic theme no longer exists in the core.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core.php

    r2657 r2678  
    19081908
    19091909/**
    1910  * bp_core_filter_template_paths()
    1911  *
    1912  * Add fallback for the bp-sn-parent theme template locations used in BuddyPress versions
    1913  * older than 1.2.
    1914  *
    1915  * @package BuddyPress Core
    1916  */
    1917 function bp_core_filter_template_paths() {
    1918     if ( 'bp-sn-parent' != basename( TEMPLATEPATH ) && !defined( 'BP_CLASSIC_TEMPLATE_STRUCTURE' ) )
    1919         return false;
    1920 
    1921     add_filter( 'bp_core_template_directory_members', create_function( '', 'return "directories/members/index";' ) );
    1922     add_filter( 'bp_core_template_plugin', create_function( '', 'return "plugin-template";' ) );
    1923 }
    1924 add_action( 'init', 'bp_core_filter_template_paths' );
    1925 
    1926 /**
    19271910 * bp_core_filter_parent_theme()
    19281911 *
Note: See TracChangeset for help on using the changeset viewer.