Changeset 7569
- Timestamp:
- 11/13/2013 02:47:20 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-functions.php
r7566 r7569 531 531 function bp_core_add_illegal_names() { 532 532 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 */ 542 function 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 ); 533 545 } 534 546 -
trunk/bp-loader.php
r7551 r7569 525 525 526 526 /** 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. 531 539 */ 532 540 public function register_theme_directory() { 541 if ( ! bp_do_register_theme_directory() ) { 542 return; 543 } 544 533 545 register_theme_directory( $this->old_themes_dir ); 534 546 } -
trunk/bp-themes/bp-default/style.css
r7280 r7569 2 2 * Theme Name: BuddyPress Default 3 3 * 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. 5 5 * Version: 1.8 6 6 * Author: the BuddyPress team … … 10 10 * 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 11 11 * 12 *** IMPORTANT - DO NOT COPY THIS THEME ** 12 *** IMPORTANT *** 13 * 14 * BuddyPress Default is no longer being actively developed by the BuddyPress team. 13 15 * 14 16 * 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.