Changeset 6066 for trunk/bp-core/bp-core-options.php
- Timestamp:
- 06/08/2012 09:44:34 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-options.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-options.php
r6037 r6066 25 25 /** Components ********************************************************/ 26 26 27 'bp-deactivated-components' => serialize( array()),27 'bp-deactivated-components' => array(), 28 28 29 29 /** bbPress ***********************************************************/ … … 62 62 'bp-disable-blogforum-comments' => true, 63 63 64 // Use the WordPress editor when possible65 '_bp_use_wp_editor' => false,66 67 64 /** Groups ************************************************************/ 68 65 … … 71 68 // Restrict group creation to super admins 72 69 'bp_restrict_group_creation' => false, 73 74 // Root forum ID for groups75 '_bbp_group_forums_root_id' => 0,76 70 77 71 /** Akismet ***********************************************************/ … … 474 468 function bp_force_buddybar( $default = true ) { 475 469 return (bool) apply_filters( 'bp_force_buddybar', (bool) bp_get_option( '_bp_force_buddybar', $default ) ); 476 }477 478 /**479 * Use the WordPress editor if available480 *481 * @since BuddyPress (r3386)482 *483 * @param $default bool Optional. Default value true484 *485 * @uses bp_get_option() To get the WP editor option486 * @return bool Use WP editor?487 */488 function bp_use_wp_editor( $default = true ) {489 return (bool) apply_filters( 'bp_use_wp_editor', (bool) bp_get_option( '_bp_use_wp_editor', $default ) );490 470 } 491 471
Note: See TracChangeset
for help on using the changeset viewer.