在新的版本之后,很明显,核心和插件自动更新对于核心自动更新,我添加了以下mu:
add_filter( 'allow_major_auto_core_updates', '__return_true' );
add_filter( 'allow_minor_auto_core_updates', '__return_true' );因为我不想要dev构建。另外还有一个自动插件的mu:
add_filter( 'auto_update_plugin', '__return_true' );我也使用W3-Total-Cache插件并试图清除所有缓存,仍然没有成功.我的错误在哪里?如何调试?自动更新功能是否使用cron作业?请指点。谢谢!
发布于 2016-08-19 10:29:48
因此,在调试这个问题时,基本上还有一些事情要注意。我做了下面的事情,一切都很有魅力。
下载了背景更新测试仪插件,以查看是否存在冲突。
define('FS_METHOD','direct');,或者通过其中一些常量添加凭据define('FS_CHMOD_FILE', 0755); define('FS_CHMOD_DIR', 0755); define('FS_METHOD', 'ftpext'); define('FTP_BASE', '/httpdocs/'); define('FTP_CONTENT_DIR', '/httpdocs/wp-content/'); define('FTP_PLUGIN_DIR ', '/httpdocs/wp-content/plugins/'); define('FTP_USER', 'username'); define('FTP_PASS', 'password'); define('FTP_HOST', '123.456.789'); define('FTP_SSL', false);
https://wordpress.stackexchange.com/questions/236282
复制相似问题