Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/08/2012 09:44:34 PM (14 years ago)
Author:
djpaul
Message:

Remove some more copypasta that came from/belongs in bbPress. See #4008.

  • The 'Root forum ID for groups' belongs to bbPress.
  • Don't serialise 'bp-deactivated-components'.
  • Remove 'Use WP Editor' option until/if we decide to integrate TinyMCE into any BP component.
File:
1 edited

Legend:

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

    r6037 r6066  
    2525        /** Components ********************************************************/
    2626
    27         'bp-deactivated-components'       => serialize( array() ),
     27        'bp-deactivated-components'       => array(),
    2828
    2929        /** bbPress ***********************************************************/
     
    6262        'bp-disable-blogforum-comments'   => true,
    6363
    64         // Use the WordPress editor when possible
    65         '_bp_use_wp_editor'               => false,
    66 
    6764        /** Groups ************************************************************/
    6865
     
    7168        // Restrict group creation to super admins
    7269        'bp_restrict_group_creation'      => false,
    73 
    74         // Root forum ID for groups
    75         '_bbp_group_forums_root_id'       => 0,
    7670
    7771        /** Akismet ***********************************************************/
     
    474468function bp_force_buddybar( $default = true ) {
    475469    return (bool) apply_filters( 'bp_force_buddybar', (bool) bp_get_option( '_bp_force_buddybar', $default ) );
    476 }
    477 
    478 /**
    479  * Use the WordPress editor if available
    480  *
    481  * @since BuddyPress (r3386)
    482  *
    483  * @param $default bool Optional. Default value true
    484  *
    485  * @uses bp_get_option() To get the WP editor option
    486  * @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 ) );
    490470}
    491471
Note: See TracChangeset for help on using the changeset viewer.