Changeset 2678 for trunk/bp-messages.php
- Timestamp:
- 02/11/2010 03:48:07 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-messages.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-messages.php
r2656 r2678 571 571 } 572 572 573 /**574 * messages_filter_template_paths()575 *576 * Add fallback for the bp-sn-parent theme template locations used in BuddyPress versions577 * older than 1.2.578 *579 * @package BuddyPress Core580 */581 function messages_filter_template_paths() {582 if ( 'bp-sn-parent' != basename( TEMPLATEPATH ) && !defined( 'BP_CLASSIC_TEMPLATE_STRUCTURE' ) )583 return false;584 585 add_filter( 'messages_template_compose', create_function( '', 'return "messages/compose";' ) );586 add_filter( 'messages_template_sentbox', create_function( '', 'return "messages/sentbox";' ) );587 add_filter( 'messages_template_inbox', create_function( '', 'return "messages/index";' ) );588 add_filter( 'messages_template_notices', create_function( '', 'return "messages/notices";' ) );589 add_filter( 'messages_template_view_message', create_function( '', 'return "messages/view";' ) );590 }591 add_action( 'init', 'messages_filter_template_paths' );592 593 573 594 574 /********************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.