From 78f973ad2cde59e9f2c74d3741a04f9575d13825 Mon Sep 17 00:00:00 2001 From: markjaquith Date: Thu, 25 Sep 2008 05:13:53 +0000 Subject: [PATCH] Proper HTML for wp_nonce_ays git-svn-id: http://svn.automattic.com/wordpress/trunk@8972 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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); }