Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/13/2013 02:47:20 AM (6 years ago)
Author:
boonebgorges
Message:

Sound the knell for the BuddyPress Default theme

bp-default is being sunsetted as of BP 1.9. The theme will continue to receive
security updates and other critical fixes, but will otherwise no longer be
under active development by the core team.

We maintain backward compatibility with sites currently using bp-default by
continuing to register the bp-themes theme directory when bp-default, or a
child theme thereof, is in use on a given site. Those sites will continue to
be able to use the theme. Installations where bp-default is not already in use
will no longer see it listed on Dashboard > Appearance.

Site administrators or developers who want to override this behavior may do so
with the 'bp_do_register_theme_directory' filter. Please note that bp-themes
will be removed altogether from BuddyPress in a future version, likely migrated
to wordpress.org/extend. See #5212.

Now cracks a noble heart. Good-night, sweet prince;
And flights of angels sing thee to thy rest.

Fixes #5223

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-functions.php

    r7566 r7569  
    531531function bp_core_add_illegal_names() {
    532532    update_site_option( 'illegal_names', get_site_option( 'illegal_names' ), array() );
     533}
     534
     535/**
     536 * Determine whether BuddyPress should register the bp-themes directory.
     537 *
     538 * @since BuddyPress (1.9.0)
     539 *
     540 * @return bool True if bp-themes should be registered, false otherwise.
     541 */
     542function bp_do_register_theme_directory() {
     543    $register = 'bp-default' === get_stylesheet() || 'bp-default' === get_template();
     544    return apply_filters( 'bp_do_register_theme_directory', $register );
    533545}
    534546
Note: See TracChangeset for help on using the changeset viewer.