diff --git a/src/readme.html b/src/readme.html index e1528c1ac6cea..8696b0505a913 100644 --- a/src/readme.html +++ b/src/readme.html @@ -5,7 +5,7 @@ WordPress › ReadMe - +

diff --git a/src/wp-admin/admin-footer.php b/src/wp-admin/admin-footer.php index c688f1a891738..abb020e046459 100644 --- a/src/wp-admin/admin-footer.php +++ b/src/wp-admin/admin-footer.php @@ -114,6 +114,6 @@ ?>
- + diff --git a/src/wp-admin/admin-header.php b/src/wp-admin/admin-header.php index ea0245fdb119c..0c075d68272a0 100644 --- a/src/wp-admin/admin-header.php +++ b/src/wp-admin/admin-header.php @@ -101,7 +101,7 @@ $admin_body_class = preg_replace( '/[^a-z0-9_-]+/i', '-', $hook_suffix ); ?> - diff --git a/src/wp-admin/customize.php b/src/wp-admin/customize.php index 141fb93dc3198..1f1a9d38b1a9e 100644 --- a/src/wp-admin/customize.php +++ b/src/wp-admin/customize.php @@ -159,7 +159,7 @@ ?> <?php echo esc_html( $admin_title ); ?> - diff --git a/src/wp-admin/edit-form-advanced.php b/src/wp-admin/edit-form-advanced.php index a22acd74cc240..c5092029543db 100644 --- a/src/wp-admin/edit-form-advanced.php +++ b/src/wp-admin/edit-form-advanced.php @@ -769,7 +769,7 @@ ?> post_title ) : ?> - diff --git a/src/wp-admin/edit-form-comment.php b/src/wp-admin/edit-form-comment.php index 47b44ee31dee9..cb6ab78e8f968 100644 --- a/src/wp-admin/edit-form-comment.php +++ b/src/wp-admin/edit-form-comment.php @@ -283,7 +283,7 @@ - - - -'; + echo ''; } /** @@ -172,7 +172,7 @@ public function bulk_footer() { public function before( $title = '' ) { $this->in_loop = true; printf( '

' . $this->upgrader->strings['skin_before_update_header'] . '

', $title, $this->upgrader->update_current, $this->upgrader->update_count ); - echo ''; + echo ''; // This progress messages div gets moved via JavaScript when clicking on "More details.". echo '

'; $this->flush_output(); @@ -200,7 +200,7 @@ public function after( $title = '' ) { ) ); - echo ''; + echo ''; } if ( $this->result && ! is_wp_error( $this->result ) ) { if ( ! $this->error ) { @@ -210,7 +210,7 @@ public function after( $title = '' ) { '

'; } - echo ''; + echo ''; } $this->reset(); diff --git a/src/wp-admin/includes/class-custom-image-header.php b/src/wp-admin/includes/class-custom-image-header.php index e8a16e47dc80a..d6a5e823c8421 100644 --- a/src/wp-admin/includes/class-custom-image-header.php +++ b/src/wp-admin/includes/class-custom-image-header.php @@ -376,7 +376,7 @@ public function js_1() { } } ?> -\n", wp_json_encode( $args, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ) ); + printf( "\n", wp_json_encode( $args, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ) ); } } diff --git a/src/wp-admin/includes/class-wp-themes-list-table.php b/src/wp-admin/includes/class-wp-themes-list-table.php index d7c491bd1c79e..c8cdbab8e43dc 100644 --- a/src/wp-admin/includes/class-wp-themes-list-table.php +++ b/src/wp-admin/includes/class-wp-themes-list-table.php @@ -357,7 +357,7 @@ public function _js_vars( $extra_args = array() ) { $args = array_merge( $args, $extra_args ); } - printf( "\n", wp_json_encode( $args, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ) ); + printf( "\n", wp_json_encode( $args, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ) ); parent::_js_vars(); } } diff --git a/src/wp-admin/includes/class-wp-upgrader-skin.php b/src/wp-admin/includes/class-wp-upgrader-skin.php index a5c80fad6dde6..831da3aebae2a 100644 --- a/src/wp-admin/includes/class-wp-upgrader-skin.php +++ b/src/wp-admin/includes/class-wp-upgrader-skin.php @@ -245,7 +245,7 @@ protected function decrement_update_count( $type ) { } if ( defined( 'IFRAME_REQUEST' ) ) { - echo ''; } else { - echo ' @@ -550,7 +550,7 @@ function wp_iframe( $content_func, ...$args ) { } ?> - - + - @@ -2070,7 +2070,7 @@ function get_compat_media_markup( $attachment_id, $args = null ) { function media_upload_header() { $post_id = isset( $_REQUEST['post_id'] ) ? (int) $_REQUEST['post_id'] : 0; - echo ''; + echo ''; if ( empty( $_GET['chromeless'] ) ) { echo '
'; @@ -2219,7 +2219,7 @@ function media_upload_form( $errors = null ) { $plupload_init = apply_filters( 'plupload_init', $plupload_init ); ?> - + var _wpColorScheme = ' . wp_json_encode( array( 'icons' => $icon_colors ), JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ) . ";\n"; + echo '\n"; } /** diff --git a/src/wp-admin/includes/ms.php b/src/wp-admin/includes/ms.php index 10ed2e27692e0..bef197410bb83 100644 --- a/src/wp-admin/includes/ms.php +++ b/src/wp-admin/includes/ms.php @@ -847,7 +847,7 @@ function can_edit_network( $network_id ) { */ function _thickbox_path_admin_subfolder() { ?> - -\n", trim( $script ) ); + printf( "\n", trim( $script ) ); } /* diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index adb12bc24bf62..2eaf67454394e 100644 --- a/src/wp-admin/includes/template.php +++ b/src/wp-admin/includes/template.php @@ -2138,7 +2138,7 @@ function iframe_header( $title = '', $deprecated = false ) { - + - - + - diff --git a/src/wp-admin/network/site-users.php b/src/wp-admin/network/site-users.php index 723a938250f08..070a8472e473d 100644 --- a/src/wp-admin/network/site-users.php +++ b/src/wp-admin/network/site-users.php @@ -236,7 +236,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php'; ?> - diff --git a/src/wp-admin/network/upgrade.php b/src/wp-admin/network/upgrade.php index 79e40f45fbbc3..f4e65b2e9b5fe 100644 --- a/src/wp-admin/network/upgrade.php +++ b/src/wp-admin/network/upgrade.php @@ -124,7 +124,7 @@ } echo ''; ?>

- diff --git a/src/wp-content/themes/twentythirteen/inc/custom-header.php b/src/wp-content/themes/twentythirteen/inc/custom-header.php index 6fb43f49c72d4..f293a46a46858 100644 --- a/src/wp-content/themes/twentythirteen/inc/custom-header.php +++ b/src/wp-content/themes/twentythirteen/inc/custom-header.php @@ -154,7 +154,7 @@ function twentythirteen_header_style() { function twentythirteen_admin_header_style() { $header_image = get_header_image(); ?> - ', $type_attr ); + echo ''; } return; } @@ -1951,7 +1949,7 @@ function _custom_background_cb() { $style .= $image . $position . $size . $repeat . $attachment; } - $processor = new WP_HTML_Tag_Processor( "" ); + $processor = new WP_HTML_Tag_Processor( '' ); $processor->next_tag(); $style_tag_content = 'body.custom-background { ' . trim( $style ) . ' }'; @@ -1972,9 +1970,6 @@ function wp_custom_css_cb() { $processor = new WP_HTML_Tag_Processor( '' ); $processor->next_tag(); - if ( ! current_theme_supports( 'html5', 'style' ) ) { - $processor->set_attribute( 'type', 'text/css' ); - } $processor->set_attribute( 'id', 'wp-custom-css' ); $processor->set_modifiable_text( "\n{$styles}\n" ); echo "{$processor->get_updated_html()}\n"; @@ -3006,11 +3001,9 @@ function _custom_logo_header_styles() { $classes = (array) get_theme_support( 'custom-logo', 'header-text' ); $classes = array_map( 'sanitize_html_class', $classes ); $classes = '.' . implode( ', .', $classes ); - - $type_attr = current_theme_supports( 'html5', 'style' ) ? '' : ' type="text/css"'; ?> -