$updated_widget) {
$f8g3_19 = isset($updated_widget->update['requires']) ? $updated_widget->update['requires'] : null;
$restrictions = isset($updated_widget->update['requires_php']) ? $updated_widget->update['requires_php'] : null;
$limbs = is_wp_version_compatible($f8g3_19);
$query_time = is_php_version_compatible($restrictions);
$prefiltered_user_id = '';
if (!$limbs && !$query_time) {
$prefiltered_user_id .= '
' . __('This update does not work with your versions of WordPress and PHP.') . ' ';
if (current_user_can('update_core') && current_user_can('update_php')) {
$prefiltered_user_id .= sprintf(
/* translators: 1: URL to WordPress Updates screen, 2: URL to Update PHP page. */
__('Please update WordPress, and then learn more about updating PHP.'),
esc_url(self_admin_url('update-core.php')),
esc_url(wp_get_update_php_url())
);
$allow_revision = wp_get_update_php_annotation();
if ($allow_revision) {
$prefiltered_user_id .= '' . $allow_revision . '';
}
} elseif (current_user_can('update_core')) {
$prefiltered_user_id .= sprintf(
/* translators: %s: URL to WordPress Updates screen. */
__('Please update WordPress.'),
esc_url(self_admin_url('update-core.php'))
);
} elseif (current_user_can('update_php')) {
$prefiltered_user_id .= sprintf(
/* translators: %s: URL to Update PHP page. */
__('Learn more about updating PHP.'),
esc_url(wp_get_update_php_url())
);
$allow_revision = wp_get_update_php_annotation();
if ($allow_revision) {
$prefiltered_user_id .= '
' . $allow_revision . '';
}
}
} elseif (!$limbs) {
$prefiltered_user_id .= '
' . __('This update does not work with your version of WordPress.') . ' ';
if (current_user_can('update_core')) {
$prefiltered_user_id .= sprintf(
/* translators: %s: URL to WordPress Updates screen. */
__('Please update WordPress.'),
esc_url(self_admin_url('update-core.php'))
);
}
} elseif (!$query_time) {
$prefiltered_user_id .= '
' . __('This update does not work with your version of PHP.') . ' ';
if (current_user_can('update_php')) {
$prefiltered_user_id .= sprintf(
/* translators: %s: URL to Update PHP page. */
__('Learn more about updating PHP.'),
esc_url(wp_get_update_php_url())
);
$allow_revision = wp_get_update_php_annotation();
if ($allow_revision) {
$prefiltered_user_id .= '
' . $allow_revision . '';
}
}
}
$proxy_port = 'checkbox_' . md5($updated_widget->get('Name'));
?>
|
display('Name');
?>
display('Version'),
$updated_widget->update['new_version']
);
echo ' ' . $prefiltered_user_id;
if (in_array($temp_backup, $hookname, true)) {
echo $g9;
}
?>
|