diff -r c7c34916027a -r 177826044cd9 wp/wp-admin/customize.php --- a/wp/wp-admin/customize.php Mon Oct 14 18:06:33 2019 +0200 +++ b/wp/wp-admin/customize.php Mon Oct 14 18:28:13 2019 +0200 @@ -51,11 +51,11 @@ * * By opening an Ajax request, this is avoided and the changeset is published. See #39221. */ - $nonces = $wp_customize->get_nonces(); + $nonces = $wp_customize->get_nonces(); $request_args = array( - 'nonce' => $nonces['save'], - 'customize_changeset_uuid' => $wp_customize->changeset_uuid(), - 'wp_customize' => 'on', + 'nonce' => $nonces['save'], + 'customize_changeset_uuid' => $wp_customize->changeset_uuid(), + 'wp_customize' => 'on', 'customize_changeset_status' => 'publish', ); ob_start(); @@ -96,13 +96,13 @@ $wp_customize->set_autofocus( wp_unslash( $autofocus ) ); } -$registered = $wp_scripts->registered; -$wp_scripts = new WP_Scripts; +$registered = $wp_scripts->registered; +$wp_scripts = new WP_Scripts; $wp_scripts->registered = $registered; -add_action( 'customize_controls_print_scripts', 'print_head_scripts', 20 ); -add_action( 'customize_controls_print_footer_scripts', '_wp_footer_scripts' ); -add_action( 'customize_controls_print_styles', 'print_admin_styles', 20 ); +add_action( 'customize_controls_print_scripts', 'print_head_scripts', 20 ); +add_action( 'customize_controls_print_footer_scripts', '_wp_footer_scripts' ); +add_action( 'customize_controls_print_styles', 'print_admin_styles', 20 ); /** * Fires when Customizer controls are initialized, before scripts are enqueued. @@ -123,7 +123,7 @@ do_action( 'customize_controls_enqueue_scripts' ); // Let's roll. -@header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); +@header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) ); wp_user_settings(); _wp_admin_html_begin(); @@ -133,7 +133,9 @@ if ( wp_is_mobile() ) : $body_class .= ' mobile'; - ?> + + is_ios() ) { @@ -147,7 +149,8 @@ $admin_title = sprintf( $wp_customize->get_document_title_template(), __( 'Loading…' ) ); -?>