From 7415ae10a3f62611da3a77200dfea27df987e9d4 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Mon, 19 May 2014 17:10:15 +0000 Subject: [PATCH] `hackificator` doesn't like mixed single/double-quoted attributes. These were 2 lingering instances in the admin. See #27881. Built from https://develop.svn.wordpress.org/trunk@28530 git-svn-id: http://core.svn.wordpress.org/trunk@28356 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/options.php | 23 ++++++++++++----------- wp-admin/update-core.php | 10 ++++++---- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/wp-admin/options.php b/wp-admin/options.php index 42b01ddec6..c5cab20474 100644 --- a/wp-admin/options.php +++ b/wp-admin/options.php @@ -230,18 +230,19 @@ foreach ( (array) $options as $option ) : $class = 'all-options'; } $name = esc_attr( $option->option_name ); - echo " + ?> - -"; - if ( strpos( $value, "\n" ) !== false ) - echo ""; - else - echo ""; - echo " -"; -endforeach; -?> + + + + + + /> + + + diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php index f881f90902..935a146977 100644 --- a/wp-admin/update-core.php +++ b/wp-admin/update-core.php @@ -608,10 +608,12 @@ if ( 'upgrade-core' == $action ) { $title = __('Update Themes'); require_once(ABSPATH . 'wp-admin/admin-header.php'); - echo '
'; - echo '

' . esc_html__('Update Themes') . '

'; - echo ""; - echo '
'; + ?> +
+

+ +
+