Changeset 27398 for trunk/src/wp-admin/customize.php
- Timestamp:
- 03/04/2014 08:20:28 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/customize.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/customize.php
r26085 r27398 1 1 <?php 2 2 /** 3 * Customize Controls3 * Theme Customize Screen. 4 4 * 5 5 * @package WordPress … … 10 10 define( 'IFRAME_REQUEST', true ); 11 11 12 /** Load WordPress Administration Bootstrap */ 12 13 require_once( dirname( __FILE__ ) . '/admin.php' ); 14 13 15 if ( ! current_user_can( 'edit_theme_options' ) ) 14 16 wp_die( __( 'Cheatin’ uh?' ) ); … … 200 202 ), wp_login_url() ); 201 203 204 // Prepare customizer settings to pass to Javascript. 202 205 $settings = array( 203 206 'theme' => array( … … 228 231 ); 229 232 233 // Prepare Customize Setting objects to pass to Javascript. 230 234 foreach ( $wp_customize->settings() as $id => $setting ) { 231 235 $settings['settings'][ $id ] = array( … … 235 239 } 236 240 241 // Prepare Customize Control objects to pass to Javascript. 237 242 foreach ( $wp_customize->controls() as $id => $control ) { 238 243 $control->to_json();
Note: See TracChangeset
for help on using the changeset viewer.