diff --git a/platforms/wordpress/gantry5/gantry5.php b/platforms/wordpress/gantry5/gantry5.php index a94e92b56..d5e2c759d 100644 --- a/platforms/wordpress/gantry5/gantry5.php +++ b/platforms/wordpress/gantry5/gantry5.php @@ -116,27 +116,3 @@ function gantry5_php_version_error() echo sprintf("You are running PHP %s, but Gantry 5 Framework needs at least PHP %s to run.", PHP_VERSION, '8.1.0'); echo '

'; } - -// Include the plugin/theme update checker library -require_once plugin_dir_path(__FILE__) . 'plugin-update-checker/plugin-update-checker.php'; -use YahnisElsts\PluginUpdateChecker\v5\PucFactory; - -// Check and update for g5_helium theme -$helium_theme_path = get_theme_root() . '/g5_helium/style.css'; -if (file_exists($helium_theme_path)) { - $heliumUpdater = PucFactory::buildUpdateChecker( - 'http://updates.gantry.org/wp-updates/g5_helium.json', - $helium_theme_path, - 'g5_helium' - ); -} - -// Check and update for g5_hydrogen theme -$hydrogen_theme_path = get_theme_root() . '/g5_hydrogen/style.css'; -if (file_exists($hydrogen_theme_path)) { - $hydrogenUpdater = PucFactory::buildUpdateChecker( - 'http://updates.gantry.org/wp-updates/g5_hydrogen.json', - $hydrogen_theme_path, - 'g5_hydrogen' - ); -}