IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/wp-includes/functions.php b/wp-includes/functions.php
a
|
b
|
|
3273 | 3273 | */ |
3274 | 3274 | function wp_nonce_ays( $action ) { |
3275 | 3275 | if ( 'log-out' === $action ) { |
3276 | | $html = sprintf( |
| 3276 | $title = $html = sprintf( |
3277 | 3277 | /* translators: %s: Site title. */ |
3278 | 3278 | __( 'You are attempting to log out of %s' ), |
3279 | 3279 | get_bloginfo( 'name' ) |
… |
… |
|
3285 | 3285 | __( 'Do you really want to <a href="%s">log out</a>?' ), |
3286 | 3286 | wp_logout_url( $redirect_to ) |
3287 | 3287 | ); |
| 3288 | $response_code = 200; |
3288 | 3289 | } else { |
3289 | 3290 | $html = __( 'The link you followed has expired.' ); |
3290 | 3291 | if ( wp_get_referer() ) { |
… |
… |
|
3295 | 3296 | __( 'Please try again.' ) |
3296 | 3297 | ); |
3297 | 3298 | } |
| 3299 | $title = __( 'Something went wrong.' ); |
| 3300 | $response_code = 403; |
3298 | 3301 | } |
3299 | 3302 | |
3300 | | wp_die( $html, __( 'Something went wrong.' ), 403 ); |
| 3303 | wp_die( $html, $title, $response_code ); |
3301 | 3304 | } |
3302 | 3305 | |
3303 | 3306 | /** |