Changeset 45530
- Timestamp:
- 06/13/2019 04:04:39 PM (20 months ago)
- Location:
- branches/5.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.2
-
branches/5.2/src/wp-admin/includes/update.php
r45185 r45530 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>
Note: See TracChangeset
for help on using the changeset viewer.