Merged in feature/81-dev-dev01 (pull request #5)
auto-patch 81-dev-dev01-2023-12-05T22_45_26 * auto-patch 81-dev-dev01-2023-12-05T22_45_26
This commit is contained in:
@@ -154,20 +154,21 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
|
||||
// Only show the dashboard notice if it's been less than a minute since the message was postponed.
|
||||
if ( $time_passed < MINUTE_IN_SECONDS ) :
|
||||
?>
|
||||
<div class="notice notice-success is-dismissible">
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: Human-readable time interval. */
|
||||
__( 'The admin email verification page will reappear after %s.' ),
|
||||
human_time_diff( time() + $remind_interval )
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
$message = sprintf(
|
||||
/* translators: %s: Human-readable time interval. */
|
||||
__( 'The admin email verification page will reappear after %s.' ),
|
||||
human_time_diff( time() + $remind_interval )
|
||||
);
|
||||
wp_admin_notice(
|
||||
$message,
|
||||
array(
|
||||
'type' => 'success',
|
||||
'dismissible' => true,
|
||||
)
|
||||
);
|
||||
endif;
|
||||
endif;
|
||||
?>
|
||||
|
||||
<?php
|
||||
if ( has_action( 'welcome_panel' ) && current_user_can( 'edit_theme_options' ) ) :
|
||||
|
||||
Reference in New Issue
Block a user