diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 6d4a66b253..b5138aff9b 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1285,9 +1285,9 @@ function wp_nonce_ays($action) { $html .= "\t\t\n"; } $html .= "\t\t\n"; - $html .= "\t\t
\n\t\t

" . wp_explain_nonce($action) . "

\n\t\t

" . __('No') . "

\n\t\t
\n\t\n"; + $html .= "\t\t
\n\t\t

" . wp_specialchars(wp_explain_nonce($action)) . "

\n\t\t

" . __('No') . "

\n\t\t
\n\t\n"; } else { - $html .= "\t
\n\t

" . wp_explain_nonce($action) . "

\n\t

" . __('No') . " " . __('Yes') . "

\n\t
\n"; + $html .= "\t
\n\t

" . wp_specialchars(wp_explain_nonce($action)) . "

\n\t

" . __('No') . " " . __('Yes') . "

\n\t
\n"; } $html .= "\n"; wp_die($html, $title);