Changeset 45544 for trunk/src/wp-includes/class-wp-recovery-mode.php
- Timestamp:
- 06/17/2019 06:36:28 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-recovery-mode.php
r45268 r45544 240 240 241 241 if ( ! isset( $_GET['_wpnonce'] ) || ! wp_verify_nonce( $_GET['_wpnonce'], self::EXIT_ACTION ) ) { 242 wp_die( __( 'Exit recovery mode link expired.' ) );242 wp_die( __( 'Exit recovery mode link expired.' ), 403 ); 243 243 } 244 244 … … 273 273 $this->cookie_service->clear_cookie(); 274 274 275 wp_die( $validated, '' ); 275 $validated->add_data( array( 'status' => 403 ) ); 276 wp_die( $validated ); 276 277 } 277 278 … … 280 281 $this->cookie_service->clear_cookie(); 281 282 282 wp_die( $session_id, '' ); 283 $session_id->add_data( array( 'status' => 403 ) ); 284 wp_die( $session_id ); 283 285 } 284 286
Note: See TracChangeset
for help on using the changeset viewer.