Changeset 11841
- Timestamp:
- 02/03/2018 07:08:39 PM (7 years ago)
- Location:
- trunk/src
- Files:
-
- 1 deleted
- 3 edited
- 5 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-attachments.php
r11839 r11841 926 926 // Load the attachment template in WP Administration screens. 927 927 if ( is_admin() && ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) ) { 928 $attachment_admin_template_part = buddypress()->themes_dir . '/ shared/buddypress/' . $attachment_template_part . '.php';928 $attachment_admin_template_part = buddypress()->themes_dir . '/bp-legacy/buddypress/' . $attachment_template_part . '.php'; 929 929 930 930 // Check whether the template part exists. -
trunk/src/bp-core/bp-core-theme-compatibility.php
r11835 r11841 988 988 } 989 989 add_action( 'loop_end', 'bp_theme_compat_loop_end' ); 990 991 /**992 * Get the absolute path to the shared theme assets folder.993 *994 * @since 3.0.0995 *996 * @return string The absolute path to the shared theme assets folder.997 */998 function bp_get_shared_theme_assets_dir() {999 1000 /**1001 * Filters the absolute path to the shared theme assets folder.1002 *1003 * @since 3.0.01004 *1005 * @param string $dir The absolute path to the shared theme assets folder.1006 */1007 return apply_filters( 'bp_get_theme_compat_dir', buddypress()->themes_dir . '/shared' );1008 } -
trunk/src/class-buddypress.php
r11835 r11841 733 733 // Register the basic theme stack. This is really dope. 734 734 bp_register_template_stack( 'get_stylesheet_directory', 10 ); 735 bp_register_template_stack( 'get_template_directory', 12 ); 736 bp_register_template_stack( 'bp_get_theme_compat_dir', 14 ); 737 bp_register_template_stack( 'bp_get_shared_theme_assets_dir', 16 ); 735 bp_register_template_stack( 'get_template_directory', 12 ); 736 bp_register_template_stack( 'bp_get_theme_compat_dir', 14 ); 738 737 } 739 738
Note: See TracChangeset
for help on using the changeset viewer.