deleted plugin cloudron.php

This commit is contained in:
KawaiiPunk 2020-10-31 15:29:58 +00:00 committed by Gitium
parent 1b332b2abc
commit 2b7df84d30

View File

@ -1,23 +0,0 @@
<?php
/**
* @package Cloudron_Managed_WordPress
* @version 1.0.0
*/
/*
Plugin Name: Cloudron Managed WordPress
Plugin URI: https://cloudron.io/store/org.wordpress.cloudronapp.html
Description: This plugin disables core updates of WordPress. Cloudron team will test new version of WordPress and will push package updates.
Author: Cloudron team
Version: 1.0.0
Author URI: http://cloudron.io
*/
// https://carlofontanos.com/disable-update-notifications-in-wordpress-admin/
function cloudron_remove_wp_core_updates() {
global $wp_version;
return(object) array('last_checked' => time(),'version_checked' => $wp_version);
}
// Core Notifications
add_filter('pre_site_transient_update_core','cloudron_remove_wp_core_updates');