Fix wp_nonce_ays() go back link. fixes #7436
git-svn-id: http://svn.automattic.com/wordpress/trunk@11059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d467c7522a
commit
07cc34e882
|
@ -2318,7 +2318,7 @@ function wp_nonce_ays( $action ) {
|
|||
$title = __( 'WordPress Failure Notice' );
|
||||
$html = wp_specialchars( wp_explain_nonce( $action ) );
|
||||
if ( wp_get_referer() )
|
||||
$html .= "</p><p><a href='" . remove_query_arg( 'updated', clean_url( wp_get_referer() ) ) . "'>" . __( 'Please try again.' ) . "</a>";
|
||||
$html .= "</p><p><a href='" . clean_url( remove_query_arg( 'updated', wp_get_referer() ) ) . "'>" . __( 'Please try again.' ) . "</a>";
|
||||
elseif ( 'log-out' == $action )
|
||||
$html .= "</p><p>" . sprintf( __( "Do you really want to <a href='%s'>log out</a>?"), wp_logout_url() );
|
||||
|
||||
|
|
Loading…
Reference in New Issue