Tag Info

Hot answers tagged

17

Instead of using the code from the question in functions.php, replace it with this: /** * Prevent certain plugins from receiving automatic updates, and auto-update the rest. * * To auto-update certain plugins and exclude the rest, simply remove the "!" operator * from the function. * * Also, by using the 'auto_update_theme' or 'auto_update_core' ...


6

You are correct, Wordpress checks for updates to core and plugins every 12 hours, but a better way to word it would be: it checks updates if last update was more than 12 hours ago. The 12 hour setting is hard codded in wp-includes/update.php The last updated dates are stored in wp_options table and the options are: _site_transient_update_core ...


5

The relevant functions wp_update_plugins() and wp_maybe_auto_update() are hooked to the wp-cron events of same name, running on twice daily schedule. Logically the initial schedule will start to tick from the time of first run. Due to wp-cron implementation (not being real cron and trigered by site visits rather than server clock) it will also "drift" ...


4

From my perspective there are about two issues with your plan - Git and "conventional" structure. So basically everything. :) Git (and version control in general) is poor tool for whole site stacks. Been there, done that, it hurt a lot. What you call "unconventional" structure with content separated from core has been for a while very conventional and ...


3

The setting you are looking for is found in "Settings"=>"General"=>"E-Mail Adress". All the Emails WordPress or Plugins send out are sent to the admin_mail, which is returned by get_option( 'admin_mail' ), and this Emailadress is not always connected to a user. If you first install WordPress, the first user created gets the role administrator, and the same ...


3

Note as of wordpress 3.8.2 the type of the plugin item passed to this function has changed and it is now an object. /** * @package Plugin_Filter * @version 2.0 */ /* Plugin Name: Plugin Filter Plugin URI: http://www.brideonline.com.au/ Description: Removes certain plugins from being updated. Author: Ben Wise Version: 2.0 Author URI: ...


2

The "autoupdate" value you see there is just a string in the "response" field from the version check API call. It doesn't determine whether or not your site actually performs an autoupdate. You'll see that field in every response returned from core version checks. Basically, it's just saying that a potential autoupdate is available for download. The ...


2

make a copy of the site in localhost,this will be better approch.To upgrade site see below link. https://codex.wordpress.org/Upgrading_WordPress_-_Extended_Instructions


1

In your finctions.php add_filter( 'auto_core_update_send_email', '__return_false' );


1

In WordPress, there are four types of automatic background updates: Core updates Plugin updates Theme updates Translation file updates If you don't like this, then add the constant to deactivate this feature in the wp-config.php, that it works on a default install. Constant to Disable All Updates define( 'AUTOMATIC_UPDATER_DISABLED', TRUE ); Constant ...


1

Since version 3.7 it is, see https://codex.wordpress.org/Configuring_Automatic_Background_Updates.


1

You might like to check out this plugin which allows you to change where the email goes: background-update-notification-email-address


1

You can use auto_core_update_email filter to change the default admin email. add_filter( 'auto_core_update_email', function($email){ $email['to'] = 'updateWP@example.com'; // Override email address return $email; });


1

If my guess is right that you think you add your site URL inside the plugin's head and it will magically update everyones plugin, then I have to tell you that wont work. You have choices: Either you host your plugin on wordpress.org and updates work pretty much without you doing anything then pushing your plugin to svn with the right stable tag in the ...


1

This type of development falls into the "not so easy and requires a custom workflow that might take a long time to be happy with". I find Subtrees, submodules or nested repos, a huge pain in the ass. Some thoughts (track everything). Enable auto updates with git/svn using: add_filter( 'auto_upgrade_ignore_checkout_status', '__return_true' ); Safe ...



Only top voted, non community-wiki answers of a minimum length are eligible