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

diff --git a/wp-admin/admin-footer.php b/wp-admin/admin-footer.php index c688f1a891..abb020e046 100644 --- a/wp-admin/admin-footer.php +++ b/wp-admin/admin-footer.php @@ -114,6 +114,6 @@ if ( function_exists( 'get_site_option' ) ?>
- + diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index ea0245fdb1..0c075d6827 100644 --- a/wp-admin/admin-header.php +++ b/wp-admin/admin-header.php @@ -101,7 +101,7 @@ wp_enqueue_script( 'svg-painter' ); $admin_body_class = preg_replace( '/[^a-z0-9_-]+/i', '-', $hook_suffix ); ?> - diff --git a/wp-admin/customize.php b/wp-admin/customize.php index 141fb93dc3..1f1a9d38b1 100644 --- a/wp-admin/customize.php +++ b/wp-admin/customize.php @@ -159,7 +159,7 @@ $admin_title = sprintf( $wp_customize->get_document_title_template(), __( 'Loadi ?> <?php echo esc_html( $admin_title ); ?> - diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index a22acd74cc..c509202954 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -769,7 +769,7 @@ if ( post_type_supports( $post_type, 'comments' ) ) { ?> post_title ) : ?> - diff --git a/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php index 47b44ee31d..cb6ab78e8f 100644 --- a/wp-admin/edit-form-comment.php +++ b/wp-admin/edit-form-comment.php @@ -283,7 +283,7 @@ $referer = wp_get_referer(); - - - -'; + echo ''; } /** @@ -172,7 +172,7 @@ class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { 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 @@ class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { ) ); - echo ''; + echo ''; } if ( $this->result && ! is_wp_error( $this->result ) ) { if ( ! $this->error ) { @@ -210,7 +210,7 @@ class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { '

'; } - echo ''; + echo ''; } $this->reset(); diff --git a/wp-admin/includes/class-custom-image-header.php b/wp-admin/includes/class-custom-image-header.php index e8a16e47dc..d6a5e823c8 100644 --- a/wp-admin/includes/class-custom-image-header.php +++ b/wp-admin/includes/class-custom-image-header.php @@ -376,7 +376,7 @@ class Custom_Image_Header { } } ?> -\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/wp-admin/includes/class-wp-themes-list-table.php b/wp-admin/includes/class-wp-themes-list-table.php index d7c491bd1c..c8cdbab8e4 100644 --- a/wp-admin/includes/class-wp-themes-list-table.php +++ b/wp-admin/includes/class-wp-themes-list-table.php @@ -357,7 +357,7 @@ class WP_Themes_List_Table extends WP_List_Table { $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/wp-admin/includes/class-wp-upgrader-skin.php b/wp-admin/includes/class-wp-upgrader-skin.php index a5c80fad6d..831da3aeba 100644 --- a/wp-admin/includes/class-wp-upgrader-skin.php +++ b/wp-admin/includes/class-wp-upgrader-skin.php @@ -245,7 +245,7 @@ class WP_Upgrader_Skin { } 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/wp-admin/includes/ms.php b/wp-admin/includes/ms.php index 10ed2e2769..bef197410b 100644 --- a/wp-admin/includes/ms.php +++ b/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/wp-admin/includes/template.php b/wp-admin/includes/template.php index adb12bc24b..2eaf674543 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -2138,7 +2138,7 @@ function iframe_header( $title = '', $deprecated = false ) { - + - - + - diff --git a/wp-admin/network/site-users.php b/wp-admin/network/site-users.php index 723a938250..070a8472e4 100644 --- a/wp-admin/network/site-users.php +++ b/wp-admin/network/site-users.php @@ -236,7 +236,7 @@ if ( ! wp_is_large_network( 'users' ) && apply_filters( 'show_network_site_users require_once ABSPATH . 'wp-admin/admin-header.php'; ?> - diff --git a/wp-admin/network/upgrade.php b/wp-admin/network/upgrade.php index 79e40f45fb..f4e65b2e9b 100644 --- a/wp-admin/network/upgrade.php +++ b/wp-admin/network/upgrade.php @@ -124,7 +124,7 @@ switch ( $action ) { } echo ''; ?>

- diff --git a/wp-content/themes/twentythirteen/inc/custom-header.php b/wp-content/themes/twentythirteen/inc/custom-header.php index 6fb43f49c7..f293a46a46 100644 --- a/wp-content/themes/twentythirteen/inc/custom-header.php +++ b/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"'; ?> -