Ticket #22254: 22254.diff
File 22254.diff, 625 bytes (added by , 11 years ago) |
---|
-
wp-includes/functions.php
1962 1962 function wp_nonce_ays( $action ) { 1963 1963 $title = __( 'WordPress Failure Notice' ); 1964 1964 if ( 'log-out' == $action ) { 1965 if ( ! is_user_logged_in() ) { 1966 wp_redirect( wp_login_url() ); 1967 exit(); 1968 } 1965 1969 $html = sprintf( __( 'You are attempting to log out of %s' ), get_bloginfo( 'name' ) ) . '</p><p>'; 1966 1970 $html .= sprintf( __( "Do you really want to <a href='%s'>log out</a>?"), wp_logout_url() ); 1967 1971 } else {