Ticket #47479: 47479.diff
| File 47479.diff, 983 bytes (added by , 7 years ago) |
|---|
-
src/wp-includes/class-wp-recovery-mode.php
239 239 } 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 245 245 if ( ! $this->exit_recovery_mode() ) { … … 272 272 if ( is_wp_error( $validated ) ) { 273 273 $this->cookie_service->clear_cookie(); 274 274 275 wp_die( $validated, '');275 wp_die( $validated, 403 ); 276 276 } 277 277 278 278 $session_id = $this->cookie_service->get_session_id_from_cookie(); … … 279 279 if ( is_wp_error( $session_id ) ) { 280 280 $this->cookie_service->clear_cookie(); 281 281 282 wp_die( $session_id, '');282 wp_die( $session_id, 403 ); 283 283 } 284 284 285 285 $this->is_active = true;
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)