Download all files FTP

This commit is contained in:
2026-04-13 15:50:16 +02:00
parent d8382136b2
commit cb5b386424
6906 changed files with 1956223 additions and 40713 deletions

View File

@@ -0,0 +1,26 @@
<?php
if (!defined('EASY_UPDATES_MANAGER_MAIN_PATH')) die('No direct access allowed');
$prohibited_active_constants = MPSUM_Constant_Checks::get_instance()->get_prohibited_active_constants();
$html = '';
if (in_array('DISABLE_WP_CRON', $prohibited_active_constants)) {
$html .= sprintf('<li><strong>%s</strong>: %s</li>', 'DISABLE_WP_CRON', esc_html__('This constant prevents automatic updates scheduled tasks from being run within WordPress internal cron.', 'stops-core-theme-and-plugin-updates')." ".esc_html__('Typically, when enabled, automatic updates events are checked on every page load and any events due to run will be called during that page load.', 'stops-core-theme-and-plugin-updates')." ".esc_html__("However, if it's intentionally being set because you use external cron (server cron) then you can ignore this warning.", 'stops-core-theme-and-plugin-updates'));
}
$html = !empty($html) ? '<ul>'.$html.'</ul>' : $html;
if (empty($html)) return;
?>
<div id="easy-updates-manager-constants-enabled" class="error">
<div style="float:right;"><a href="#" onclick="jQuery('#easy-updates-manager-constants-enabled').slideUp(); jQuery.post(ajaxurl, {action: 'easy_updates_manager_ajax', subaction: 'dismiss_constant_notices', nonce: '<?php echo esc_js(wp_create_nonce('easy-updates-manager-ajax-nonce')); ?>' });"><?php printf(esc_html__('Dismiss', 'stops-core-theme-and-plugin-updates')); ?></a></div>
<h3><?php
// Allow white label
$eum_white_label = apply_filters('eum_whitelabel_name', __('Easy Updates Manager', 'stops-core-theme-and-plugin-updates'));
/* Translators: %s: Label name. */
echo sprintf(esc_html__("The following constants are set and will prevent automatic updates in %s.", 'stops-core-theme-and-plugin-updates'), esc_html($eum_white_label));
?></h3>
<div id="easy-updates-manager-constants-enabled-wrapper">
<p><?php esc_html_e('Please check your wp-config.php file or other files for these constants and remove them to allow Easy Updates Manager to have control.', 'stops-core-theme-and-plugin-updates'); ?></p>
<?php echo wp_kses_post($html); ?>
</div>
</div>

View File

@@ -0,0 +1,58 @@
<?php if (!defined('EASY_UPDATES_MANAGER_MAIN_PATH')) die('No direct access allowed'); ?>
<div class="updraft-ad-container updated">
<div class="updraft_notice_container">
<div class="updraft_advert_content_left">
<img src="<?php echo esc_url(EASY_UPDATES_MANAGER_URL.'images/'.$image); ?>" width="60" height="60" alt="<?php esc_attr_e('notice image', 'stops-core-theme-and-plugin-updates'); ?>" />
</div>
<div class="updraft_advert_content_right">
<h3 class="updraft_advert_heading">
<?php
if (!empty($prefix)) echo esc_html($prefix).' ';
echo esc_html($title);
?>
<div class="updraft-advert-dismiss">
<?php if (!empty($dismiss_time)) { ?>
<a href="#" onclick="jQuery('.updraft-ad-container').slideUp(); jQuery.post(ajaxurl, {action: 'easy_updates_manager_ajax', subaction: '<?php echo esc_js($dismiss_time); ?>', nonce: '<?php echo esc_js(wp_create_nonce('easy-updates-manager-ajax-nonce')); ?>' });"><?php esc_html_e('Dismiss', 'stops-core-theme-and-plugin-updates'); ?></a>
<?php } else { ?>
<a href="#" onclick="jQuery('.updraft-ad-container').slideUp();"><?php esc_html_e('Dismiss', 'stops-core-theme-and-plugin-updates'); ?></a>
<?php } ?>
</div>
</h3>
<p>
<?php
echo wp_kses_post($text);
$button_text = '';
if (isset($discount_code)) echo ' <b>' . esc_html($discount_code) . '</b>';
if (!empty($button_link) && !empty($button_meta)) {
// Check which Message is going to be used.
if ('updraftcentral' == $button_meta) {
$button_text = __('Get UpdraftCentral', 'stops-core-theme-and-plugin-updates');
} elseif ('review' == $button_meta) {
$button_text = __('Review "Easy Updates Manager"', 'stops-core-theme-and-plugin-updates');
} elseif ('updraftplus' == $button_meta) {
$button_text = __('Get UpdraftPlus', 'stops-core-theme-and-plugin-updates');
} elseif ('signup' == $button_meta) {
$button_text = __('Sign up', 'stops-core-theme-and-plugin-updates');
} elseif ('go_there' == $button_meta) {
$button_text = __('Go there', 'stops-core-theme-and-plugin-updates');
} elseif ('wpo-premium' == $button_meta) {
$button_text = __('Find out more.', 'stops-core-theme-and-plugin-updates');
} elseif ('wp-optimize' == $button_meta) {
$button_text = __('Get WP-Optimize', 'stops-core-theme-and-plugin-updates');
} elseif ('aios' == $button_meta) {
$button_text = __('Get AIOS', 'stops-core-theme-and-plugin-updates');
} elseif ('eum_premium' == $button_meta) {
$button_text = __('Get premium', 'stops-core-theme-and-plugin-updates');
} elseif ('collection' == $button_meta) {
$button_text = __('Read more', 'stops-core-theme-and-plugin-updates');
}
$easy_updates_manager->easy_updates_manager_url($button_link, $button_text, null, 'class="updraft_notice_link"');
}
?>
</p>
</div>
</div>
<div class="clear"></div>
</div>

View File

@@ -0,0 +1,39 @@
<?php if (!defined('EASY_UPDATES_MANAGER_MAIN_PATH')) die('No direct access allowed'); ?>
<div id="easy-updates-manager-dashnotice" class="updated">
<?php
global $pagenow;
if ('index.php' === $pagenow && !isset($_GET['page'])) {
$ajax_action = 'dismiss_dash_notice_until';
$time = 12;
} else {
$ajax_action = 'dismiss_eum_notice_until';
$time = 6;
}
?>
<div style="float:right;"><a href="#" onclick="jQuery('#easy-updates-manager-dashnotice').slideUp(); jQuery.post(ajaxurl, {action: 'easy_updates_manager_ajax', subaction: '<?php echo esc_js($ajax_action); ?>', nonce: '<?php echo esc_js(wp_create_nonce('easy-updates-manager-ajax-nonce')); ?>' });"><?php printf(esc_html__('Dismiss (for %s months)', 'stops-core-theme-and-plugin-updates'), absint($time)); ?></a></div>
<h3><?php esc_html_e("Thank you for installing Easy Updates Manager.", 'stops-core-theme-and-plugin-updates'); ?></h3>
<div id="easy-updates-manager-dashnotice-wrapper">
<a href="<?php echo esc_url(apply_filters('easy_updates_manager_com_link', 'https://easyupdatesmanager.com/')); ?>"><img style="border: 0px; float: right; height: 130px; padding-bottom: 25px;" alt="<?php esc_attr_e('Easy Updates Manager', 'stops-core-theme-and-plugin-updates'); ?>" src="<?php echo esc_url(EASY_UPDATES_MANAGER_URL.'images/notices/eum-notice-logo-150.png'); ?>"></a>
<p>
<?php echo esc_html__('Super-charge and secure your WordPress site with our other top plugins:', 'stops-core-theme-and-plugin-updates'); ?>
</p>
<p>
<?php printf(esc_html__('%s simplifies backups and restoration.', 'stops-core-theme-and-plugin-updates').' '.esc_html__('It is the worlds highest ranking and most popular scheduled backup plugin, with over a million currently-active installs.', 'stops-core-theme-and-plugin-updates'), '<strong>' . wp_kses($easy_updates_manager->easy_updates_manager_url('https://teamupdraft.com/updraftplus/', 'UpdraftPlus', '', '', true), array('a' => array('href' => array(), 'class' => array()))) . '</strong>'); ?>
</p>
<p>
<?php printf(esc_html__('%s is a highly efficient way to manage, optimize, update and backup multiple websites from one place.', 'stops-core-theme-and-plugin-updates'), '<strong>' . wp_kses($easy_updates_manager->easy_updates_manager_url('https://teamupdraft.com/updraftcentral/?utm_source=eum-plugin&utm_medium=referral&utm_campaign=paac&utm_content=updraftcentral&utm_creative_format=advert', 'UpdraftCentral', '', '', true), array('a' => array('href' => array(), 'class' => array()))) . '</strong>'); ?>
</p>
<p>
<?php printf(esc_html__('%s makes your site fast and efficient. It cleans the database, compresses images and caches pages for ultimate speed.', 'stops-core-theme-and-plugin-updates'), '<strong>' . wp_kses($easy_updates_manager->easy_updates_manager_url('https://teamupdraft.com/wp-optimize/', __('WP-Optimize', 'stops-core-theme-and-plugin-updates'), '', '', true), array('a' => array('href' => array(), 'class' => array()))) . '</strong>'); ?>
</p>
<p>
<strong><?php $easy_updates_manager->easy_updates_manager_url('https://www.simbahosting.co.uk/s3/shop/', __('Premium WooCommerce extensions', 'stops-core-theme-and-plugin-updates')); ?></strong>
</p>
</div>
</div>