Skip to:
Content

bbPress.org

Changeset 3193


Ignore:
Timestamp:
05/21/2011 09:54:58 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Clean up whitespace and comment out Green admin UI styling since it will need a refresh when WordPress 3.1 ships anyways.

File:
1 edited

Legend:

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

    r3191 r3193  
    9696
    9797        // Register bbPress admin style
    98         add_action( 'admin_init',    array( $this, 'register_admin_style'    ) );
     98        // @todo Refresh for 3.2 UI
     99        //add_action( 'admin_init',    array( $this, 'register_admin_style'    ) );
    99100
    100101        // Add the settings
     
    234235
    235236        // Add the per page section
    236         add_settings_section( 'bbp_root_slug',   __( 'Archive Slugs',      'bbpress' ), 'bbp_admin_setting_callback_root_slug_section',   'bbpress'                  );
     237        add_settings_section( 'bbp_root_slug',   __( 'Archive Slugs',      'bbpress' ), 'bbp_admin_setting_callback_root_slug_section',   'bbpress' );
    237238
    238239        // Root slug setting
    239240        add_settings_field( '_bbp_root_slug',    __( 'Forums Base', 'bbpress' ), 'bbp_admin_setting_callback_root_slug',           'bbpress', 'bbp_root_slug' );
    240         register_setting  ( 'bbpress',           '_bbp_root_slug',                      'esc_sql'                                                                    );
     241        register_setting  ( 'bbpress',           '_bbp_root_slug',               'esc_sql'                                                                    );
    241242
    242243        // Topic archive setting
    243244        add_settings_field( '_bbp_topic_archive_slug', __( 'Topics Base', 'bbpress' ), 'bbp_admin_setting_callback_topic_archive_slug', 'bbpress', 'bbp_root_slug' );
    244         register_setting  ( 'bbpress',                 '_bbp_topic_archive_slug',              'esc_sql'                                                                   );
     245        register_setting  ( 'bbpress',                 '_bbp_topic_archive_slug',      'esc_sql'                                                                   );
    245246
    246247        /** Single slugs ******************************************************/
Note: See TracChangeset for help on using the changeset viewer.