WP CLI commands reset “Default Ignore List”
-
Hi,
Thanks for such a great plugin! I use it on every website I own!
And recently I discovered potentially unintended behaviour in FVM: “Default Ignore List” resets to defaults after using any WP CLI command.
How to reproduce: Change “Default Ignore List” and run any WP CLI command.
WP version: 5.5
PHP version: 7.4.8
FVM version: 2.8.9
WP-CLI version: 2.4.0Seems that such behaviour related to
fastvelocity_plugin_upgrade_completedhelper and the fact, thatglobal $fastvelocity_plugin_version;is empty for WP CLI calls.Straight forward fix may be by replacing
$fastvelocity_plugin_version = $fastvelocity_plugin_version_get_data['Version'];infvm.phpto$GLOBALS['fastvelocity_plugin_version'] = $fastvelocity_plugin_version_get_data['Version'];.Please help me to fix that.
Thank you in advance.
The topic ‘WP CLI commands reset “Default Ignore List”’ is closed to new replies.