| Server IP : 151.101.66.159 / Your IP : 216.73.216.66 Web Server : Flywheel/5.1.0 System : Linux wordpress 6.12.113+ #1 SMP Thu Oct 22 02:38:20 UTC 2026 x86_64 User : root ( ) PHP Version : 7.4.33.18 Disable Function : disk_free_space,diskfreespace,dl,exec,fpassthru,getmypid,getmyuid,highlight_file,link,opcache_compile_file,opcache_get_configuration,opcache_is_script_cached,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifcontinued,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,phpinfo,popen,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,socket_listen,source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wp-content/plugins/wpmudev-updates/template/sui/ |
Upload File : |
<?php
/**
* Dashboard popup template: Info on last update-check
*
* Will output a single line of text that displays the last update time and
* a link to check again.
*
* Following variables are passed into the template:
* - (none)
*
* @since 4.0.0
* @package WPMUDEV_Dashboard
*/
$url_check = add_query_arg( 'action', 'check-updates' );
$last_check = WPMUDEV_Dashboard::$settings->get( 'last_run_updates', 'general' );
if ( isset( $_GET['success-action'] ) ) { // phpcs:ignore ?>
<div class="sui-floating-notices">
<?php
if ( 'check-updates' === $_GET['success-action'] ) { // phpcs:ignore
$notice_msg = '<p>' . esc_html__( 'Data successfully updated.', 'wpmudev' ) . '</p>';
$notice_id = 'remote-check-success';
?>
<div
role="alert"
id="<?php echo esc_attr( $notice_id ); ?>"
class="sui-common-notice-alert sui-notice"
aria-live="assertive"
data-show-dismiss="true"
data-notice-type="success"
data-notice-msg="<?php echo wp_kses_post( $notice_msg ); ?>"
>
</div>
<?php
}
?>
</div>
<?php
}
if ( $last_check ) { ?>
<p class="dashui-note-refresh refresh-infos">
<?php
printf(
esc_html( _x( 'We last checked for updates %1$s ago %2$sCheck again%3$s', 'Placeholders: time-ago, link-open, link-close', 'wpmudev' ) ),
'<strong>' . esc_html( human_time_diff( $last_check ) ) . '</strong>',
' - <a href="' . esc_url( $url_check ) . '" class="has-spinner">',
' </a>'
);
?>
</p>
<?php } else { ?>
<div class="sui-description sui-block-content-center refresh-infos">
<?php
printf(
esc_html( _x( 'We did not check for updates yet... %1$sCheck now%2$s', 'Placeholders: link-open, link-close', 'wpmudev' ) ),
'<a href="' . esc_url( $url_check ) . '" class="has-spinner">',
' </a>'
);
?>
</div>
<?php }