Skip to:
Content

bbPress.org


Ignore:
Timestamp:
09/13/2017 05:49:38 PM (6 years ago)
Author:
johnjamesjacoby
Message:

Options: break Features out from Settings section.

This change makes it easier to discern which options are features, and which are settings for those features.

Also updates the inline descriptions for several array items.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/core/options.php

    r6694 r6695  
    3232        '_bbp_db_version'             => 0,         // Database version
    3333
     34        /** Features **********************************************************/
     35
     36        '_bbp_enable_favorites'       => 1,         // Enable favorites
     37        '_bbp_enable_subscriptions'   => 1,         // Enable subscriptions
     38        '_bbp_enable_engagements'     => 1,         // Enable engagements
     39        '_bbp_allow_content_edit'     => 1,         // Allow content edit
     40        '_bbp_allow_content_throttle' => 1,         // Allow content throttle
     41        '_bbp_allow_revisions'        => 1,         // Allow revisions
     42        '_bbp_allow_topic_tags'       => 1,         // Allow topic tagging
     43        '_bbp_allow_search'           => 1,         // Allow forum-wide search
     44        '_bbp_allow_forum_mods'       => 1,         // Allow per-forum moderation
     45        '_bbp_allow_global_access'    => 1,         // Allow users from all sites to post
     46        '_bbp_allow_anonymous'        => 0,         // Allow anonymous posting
     47        '_bbp_allow_super_mods'       => 0,         // Allow mods to edit users
     48        '_bbp_allow_threaded_replies' => 0,         // Allow threaded replies
     49        '_bbp_use_wp_editor'          => 1,         // Use the WordPress editor if available
     50        '_bbp_use_autoembed'          => 0,         // Use oEmbed in topics and replies
     51
    3452        /** Settings **********************************************************/
    3553
     54        '_bbp_default_role'           => $role,     // Default forums role
    3655        '_bbp_edit_lock'              => 5,         // Lock post editing after 5 minutes
    3756        '_bbp_throttle_time'          => 10,        // Throttle post time to 10 seconds
    38         '_bbp_enable_favorites'       => 1,         // Favorites
    39         '_bbp_enable_subscriptions'   => 1,         // Subscriptions
    40         '_bbp_enable_engagements'     => 1,         // Engagements
    41         '_bbp_allow_content_edit'     => 1,         // Allow content edit
    42         '_bbp_allow_content_throttle' => 1,         // Allow content throttle
    43         '_bbp_allow_anonymous'        => 0,         // Allow anonymous posting
    44         '_bbp_allow_global_access'    => 1,         // Users from all sites can post
    45         '_bbp_allow_revisions'        => 1,         // Allow revisions
    46         '_bbp_allow_topic_tags'       => 1,         // Allow topic tagging
    47         '_bbp_allow_forum_mods'       => 1,         // Allow per-forum moderation
    48         '_bbp_allow_super_mods'       => 0,         // Allow mods to edit users
    49         '_bbp_allow_threaded_replies' => 0,         // Allow threaded replies
    50         '_bbp_allow_search'           => 1,         // Allow forum-wide search
    5157        '_bbp_thread_replies_depth'   => 2,         // Thread replies depth
    52         '_bbp_use_wp_editor'          => 1,         // Use the WordPress editor if available
    53         '_bbp_use_autoembed'          => 0,         // Allow oEmbed in topics and replies
    5458        '_bbp_theme_package_id'       => 'default', // The ID for the current theme package
    55         '_bbp_default_role'           => $role,     // Default forums role
    5659        '_bbp_settings_integration'   => 'basic',   // How to integrate into wp-admin
    5760
Note: See TracChangeset for help on using the changeset viewer.