Changeset 7798 for trunk/bp-core/bp-core-functions.php
- Timestamp:
- 02/05/2014 07:40:14 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-functions.php
r7734 r7798 598 598 function bp_do_register_theme_directory() { 599 599 $register = 'bp-default' === get_stylesheet() || 'bp-default' === get_template(); 600 601 // Legacy sites continue to have the theme registered 602 if ( empty( $register ) && ( 1 == get_site_option( '_bp_retain_bp_default' ) ) ) { 603 $register = true; 604 } 605 600 606 return apply_filters( 'bp_do_register_theme_directory', $register ); 601 607 }
Note: See TracChangeset
for help on using the changeset viewer.