Changeset 45529 for trunk/src/wp-admin/includes/update.php
- Timestamp:
- 06/13/2019 03:59:58 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/update.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/update.php
r45412 r45529 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.