Skip to:
Content

Changeset 7569


Ignore:
Timestamp:
11/13/13 02:47:20 (5 months 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

Location:
trunk
Files:
3 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 
  • trunk/bp-loader.php

    r7551 r7569  
    525525 
    526526    /** 
    527      * Setup the BuddyPress theme directory 
    528      * 
    529      * @since BuddyPress (1.5) 
    530      * @todo Move bp-default to wordpress.org/extend/themes and remove this 
     527     * Set up BuddyPress's legacy theme directory. 
     528     * 
     529     * Starting with version 1.2, and ending with version 1.8, BuddyPress 
     530     * registered a custom theme directory - bp-themes - which contained 
     531     * the bp-default theme. Since BuddyPress 1.9, bp-themes is no longer 
     532     * registered (and bp-default no longer offered) on new installations. 
     533     * Sites using bp-default (or a child theme of bp-default) will 
     534     * continue to have bp-themes registered as before. 
     535     * 
     536     * @since BuddyPress (1.5.0) 
     537     * 
     538     * @todo Move bp-default to wordpress.org/extend/themes and remove this. 
    531539     */ 
    532540    public function register_theme_directory() { 
     541        if ( ! bp_do_register_theme_directory() ) { 
     542            return; 
     543        } 
     544 
    533545        register_theme_directory( $this->old_themes_dir ); 
    534546    } 
  • trunk/bp-themes/bp-default/style.css

    r7280 r7569  
    22 * Theme Name: BuddyPress Default 
    33 * Theme URI: http://buddypress.org/extend/themes/ 
    4  * Description: Clean and stylish, BuddyPress Default lets you build a social network straight out of the box. Make it yours with a custom menu, header image, and background. Along with five widgetized areas (one in the sidebar, four in the footer), BP-Default supports featured images (as custom header images on posts and pages) and is furnished with an optional one-column page template that removes the sidebar, and a stylesheet for the admin Visual Editor. 
     4 * Description: [NOTE: except for security issues, BuddyPress Default is no longer being actively maintained by the BuddyPress team.] Clean and stylish, BuddyPress Default lets you build a social network straight out of the box. Make it yours with a custom menu, header image, and background. Along with five widgetized areas (one in the sidebar, four in the footer), BP-Default supports featured images (as custom header images on posts and pages) and is furnished with an optional one-column page template that removes the sidebar, and a stylesheet for the admin Visual Editor. 
    55 * Version: 1.8 
    66 * Author: the BuddyPress team 
     
    1010 * Tags: blue, buddypress, custom-background, custom-header, custom-menu, editor-style, featured-image-header, featured-images, fixed-width, light, right-sidebar, rtl-language-support, sticky-post, threaded-comments, translation-ready, two-columns, white 
    1111 * 
    12  *** IMPORTANT - DO NOT COPY THIS THEME ** 
     12 *** IMPORTANT *** 
     13 * 
     14 * BuddyPress Default is no longer being actively developed by the BuddyPress team. 
    1315 * 
    1416 * If you want to make a custom theme based on this theme, DO NOT copy and edit it. By 
Note: See TracChangeset for help on using the changeset viewer.