diff --git a/wp-admin/includes/update.php b/wp-admin/includes/update.php
index d4c1dd6a07..b044c7aef4 100644
|
a
|
b
|
function wp_recovery_mode_nag() { |
| 841 | 841 | return; |
| 842 | 842 | } |
| 843 | 843 | |
| | 844 | $url = wp_login_url(); |
| | 845 | $url = add_query_arg( 'action', WP_Recovery_Mode::EXIT_ACTION, $url ); |
| | 846 | $url = wp_nonce_url( $url, WP_Recovery_Mode::EXIT_ACTION ); |
| | 847 | |
| 844 | 848 | ?> |
| 845 | 849 | <div class="notice notice-info"> |
| 846 | 850 | <p> |
| 847 | | <?php esc_html_e( 'You are in recovery mode. This means there may be an error with a theme or plugin. To exit recovery mode, log out or use the Exit button.' ); ?> |
| | 851 | <?php |
| | 852 | /* translators: %s: Recovery Mode exit link */ |
| | 853 | printf( |
| | 854 | wp_kses_post( |
| | 855 | __( 'You are in recovery mode. This means there may be an error with a theme or plugin. To exit recovery mode, log out or use the Exit button. <a href="%s">Exit Recovery Mode</a>' ) |
| | 856 | ), |
| | 857 | $url |
| | 858 | ); |
| | 859 | ?> |
| 848 | 860 | </p> |
| 849 | 861 | </div> |
| 850 | 862 | <?php |