Changeset 7795 for branches/1.9/bp-core/bp-core-functions.php
- Timestamp:
- 02/05/2014 07:35:13 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.9/bp-core/bp-core-functions.php
r7734 r7795 547 547 function bp_do_register_theme_directory() { 548 548 $register = 'bp-default' === get_stylesheet() || 'bp-default' === get_template(); 549 550 // Legacy sites continue to have the theme registered 551 if ( empty( $register ) && ( 1 == get_site_option( '_bp_retain_bp_default' ) ) ) { 552 $register = true; 553 } 554 549 555 return apply_filters( 'bp_do_register_theme_directory', $register ); 550 556 }
Note: See TracChangeset
for help on using the changeset viewer.