Ticket #47070: 47070-option-1.4.diff
| File 47070-option-1.4.diff, 952 bytes (added by , 7 years ago) |
|---|
-
src/wp-admin/includes/update.php
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 printf( 853 /* translators: %s: Recovery Mode exit link */ 854 __( '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>' ), 855 esc_url( $url ) 856 ); 857 ?> 848 858 </p> 849 859 </div> 850 860 <?php