From 2f943e7cc519658daa2ad929614d4a5a08acfd89 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Thu, 25 Sep 2008 05:13:53 +0000 Subject: [PATCH] Proper HTML for wp_nonce_ays git-svn-id: https://develop.svn.wordpress.org/trunk@8972 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 24ea68f2a7..07722daeb3 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -2231,9 +2231,9 @@ function wp_explain_nonce( $action ) { */ function wp_nonce_ays( $action ) { $title = __( 'WordPress Failure Notice' ); - $html = wp_specialchars( wp_explain_nonce( $action ) ) . '

'; + $html = wp_specialchars( wp_explain_nonce( $action ) ); if ( wp_get_referer() ) - $html .= "

" . __( 'Please try again.' ) . ""; + $html .= "

" . __( 'Please try again.' ) . ""; wp_die( $html, $title); }