How to update WordPress and plugins at specific day and time in PHP?

There’s a question and an answer regarding WP (auto) updates here, How To/What triggers a WordPress auto update? The answer also has a link to a blog post on how to force WordPress auto-update. Code snippet posted on the referenced blog, <?php // request-update.php require( dirname(__FILE__) . ‘/wp-load.php’ ); wp_maybe_auto_update(); ?> and php ./request-update.php Perhaps … Read more

“You have the latest version of WordPress. Future security updates will be applied automatically.”

Since version 3.7 WordPress has automatic background updates. By default, only minor releases – such as for maintenance and security purposes – and translation file updates are enabled on most sites. In special cases, plugins and themes may be updated. Of course, as with many things in WP, you can modify that behavior with config … Read more

WordPress Health Tool reporting version control as a critical issue

There’s the site_status_tests filter, to e.g. remove the asynchronous background updates tests: add_filter( ‘site_status_tests’, function ( $tests ) { unset( $tests[‘async’][‘background_updates’] ); return $tests; } ); But one could argue that this is just hiding information from the user. Ticket #46733 suggests instead e.g. “…ignored tests section, hidden away like the Passed tests“, so the … Read more