diff -r 3d4e9c994f10 -r a86126ab1dd4 wp/wp-admin/customize.php --- a/wp/wp-admin/customize.php Tue Oct 22 16:11:46 2019 +0200 +++ b/wp/wp-admin/customize.php Tue Dec 15 13:49:49 2020 +0100 @@ -10,7 +10,7 @@ define( 'IFRAME_REQUEST', true ); /** Load WordPress Administration Bootstrap */ -require_once( dirname( __FILE__ ) . '/admin.php' ); +require_once __DIR__ . '/admin.php'; if ( ! current_user_can( 'customize' ) ) { wp_die( @@ -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(); @@ -132,10 +132,7 @@ if ( wp_is_mobile() ) : $body_class .= ' mobile'; - - ?> - - is_ios() ) { @@ -150,7 +147,7 @@ $admin_title = sprintf( $wp_customize->get_document_title_template(), __( 'Loading…' ) ); ?> -