Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/03/2011 06:35:03 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Settings, functions, CSS, and template-tags necessary to use wp_editor() function, introduced in WordPress 3.3. See #1673.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-admin/bbp-admin.php

    r3575 r3586  
    228228        }
    229229
     230        // Allow global access setting
     231        if ( function_exists( 'wp_editor' ) ) {
     232            add_settings_field( '_bbp_use_wp_editor', __( 'Fancy Editor',  'bbpress' ), 'bbp_admin_setting_callback_use_wp_editor', 'bbpress', 'bbp_main' );
     233            register_setting  ( 'bbpress',            '_bbp_use_wp_editor',             'intval'                                                          );
     234        }
     235
    230236        /** Per Page Section **************************************************/
    231237
Note: See TracChangeset for help on using the changeset viewer.