Ticket #48333: 48333.diff
File 48333.diff, 1.6 KB (added by , 5 years ago) |
---|
-
src/wp-admin/_index.php
114 114 <div class="wrap"> 115 115 <h1><?php echo esc_html( $title ); ?></h1> 116 116 117 <?php if ( ! empty( $_GET['admin_email_remind_later'] ) ) : ?> 118 <div class="notice notice-success is-dismissible"> 119 <p> 120 <?php 121 printf( 122 /* translators: %1$s: The number of comments. %2$s: The post title. */ 123 _n( 'The admin email verification page will reappear after %d day.', 'The admin email verification page will reappear after %d days.', 3 ), 124 number_format_i18n( 3 ) 125 ); 126 ?> 127 </p> 128 </div> 129 <?php endif; ?> 130 117 131 <?php 118 132 if ( has_action( 'welcome_panel' ) && current_user_can( 'edit_theme_options' ) ) : 119 133 $classes = 'welcome-panel'; -
src/wp-includes/functions.php
1153 1153 $removable_query_args = array( 1154 1154 'activate', 1155 1155 'activated', 1156 'admin_email_remind_later', 1156 1157 'approved', 1157 1158 'deactivate', 1158 1159 'deleted', -
src/wp-login.php
578 578 // "Remind me later" is a bit ambiguous. Three days later? 579 579 update_option( 'admin_email_lifespan', time() + 3 * DAY_IN_SECONDS ); 580 580 581 $redirect_to = add_query_arg( 'admin_email_remind_later', 1, $redirect_to ); 581 582 wp_safe_redirect( $redirect_to ); 582 583 exit; 583 584 }