Php 自动后台更新不适用于wordpress 3.7.1
我在当地的wordpress 3.7.1博客上工作。 从官方wordpress论坛上,我意识到自动更新适用于3.7.1及以上版本 我已经将这行代码添加到我的wp-config.php文件中,但什么也没发生Php 自动后台更新不适用于wordpress 3.7.1,php,wordpress,auto-update,Php,Wordpress,Auto Update,我在当地的wordpress 3.7.1博客上工作。 从官方wordpress论坛上,我意识到自动更新适用于3.7.1及以上版本 我已经将这行代码添加到我的wp-config.php文件中,但什么也没发生 define('WP_AUTO_UPDATE_CORE', true); add_filter( 'auto_update_plugin', '__return_true' ); add_filter( 'auto_update_core', '__return_true' ); add_
define('WP_AUTO_UPDATE_CORE', true);
add_filter( 'auto_update_plugin', '__return_true' );
add_filter( 'auto_update_core', '__return_true' );
add_filter( 'allow_dev_auto_core_updates', '__return_true' ); // Enable development updates
add_filter( 'allow_minor_auto_core_updates', '__return_true' ); // Enable minor updates
add_filter( 'allow_major_auto_core_updates', '__return_true' ); // Enable major updates
为了确保一切正常,我安装了这个插件后台更新测试仪,它告诉我一切正常:
Background Update Tester
Automatic background updates require a number of conditions to be met.
PASS: Your WordPress install can communicate with WordPress.org securely.
PASS: No version control systems were detected.
PASS: Your installation of WordPress doesn’t require FTP credentials to perform updates.
PASS: All of your WordPress files are writable.
This site is able to apply these updates automatically. Cool!
我在托管服务器上测试了4.5.3版的相同过程,但它不工作