Changeset 7173 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-coming-soon-page/classes/wccsp-customizer.php
- Timestamp:
- 04/26/2018 10:18:32 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-coming-soon-page/classes/wccsp-customizer.php
r5819 r7173 8 8 */ 9 9 public function __construct() { 10 add_action( 'init', array( $this, 'init' ), 11 ); // after WCCSP_Settings::init()10 add_action( 'init', array( $this, 'init' ), 11 ); // After WCCSP_Settings::init(). 11 11 add_action( 'customize_register', array( $this, 'register_customizer_components' ) ); 12 12 add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_customizer_scripts' ) ); … … 29 29 'wccsp_live_preview', 30 30 array( 31 'capability' => $GLOBALS['WCCSP_Settings']::REQUIRED_CAPABILITY, 32 'title' => __( 'Coming Soon Page', 'wordcamporg' ), 33 31 'capability' => $GLOBALS['WCCSP_Settings']::REQUIRED_CAPABILITY, 32 'title' => __( 'Coming Soon Page', 'wordcamporg' ), 34 33 'description' => __( 35 34 'When enabled, the Coming Soon page will be displayed to logged-out users, giving you a chance to setup all of your content before your site is visible to the world.', 36 35 'wordcamporg' 37 36 ) . $GLOBALS['WCCSP_Settings']->render_admin_notices(), 38 37 ) 39 38 ); … … 52 51 'wccsp_settings[enabled]', 53 52 array( 54 'section' 55 'type' 56 'choices' 57 'priority' 58 'capability' 53 'section' => 'wccsp_live_preview', 54 'type' => 'radio', 55 'choices' => array( 'on' => 'On', 'off' => 'Off' ), 56 'priority' => 1, 57 'capability' => $GLOBALS['WCCSP_Settings']::REQUIRED_CAPABILITY, 59 58 ) 60 59 );
Note: See TracChangeset
for help on using the changeset viewer.