Changeset 48363
- Timestamp:
- 07/07/2020 09:19:00 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/_index.php
r48359 r48363 125 125 * This allows us to not show it if the query arg is set, but visited due to caches, bookmarks or similar. 126 126 */ 127 $time_passed = $postponed_time - $remind_interval - time();127 $time_passed = time() - ( $postponed_time - $remind_interval ); 128 128 129 129 // Only show the dashboard notice if it's been less than a minute since the message was postponed. 130 if ( $time_passed > -60) :130 if ( $time_passed < MINUTE_IN_SECONDS ) : 131 131 ?> 132 132 <div class="notice notice-success is-dismissible"> … … 134 134 <?php 135 135 printf( 136 /* translators: %1$s: The number of comments. %2$s: The post title. */ 137 _n( 'The admin email verification page will reappear after %d day.', 'The admin email verification page will reappear after %d days.', 3 ), 136 /* translators: %d: The number of days. */ 137 _n( 138 'The admin email verification page will reappear after %d day.', 139 'The admin email verification page will reappear after %d days.', 140 3 141 ), 138 142 number_format_i18n( 3 ) 139 143 );
Note: See TracChangeset
for help on using the changeset viewer.