• Resolved Daniel

    (@saddeveloper)


    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.0

    Seems that such behaviour related to fastvelocity_plugin_upgrade_completed helper and the fact, that global $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']; in fvm.php to $GLOBALS['fastvelocity_plugin_version'] = $fastvelocity_plugin_version_get_data['Version'];.

    Please help me to fix that.

    Thank you in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Daniel

    (@saddeveloper)

    Any update?

    Plugin Author Raul P.

    (@alignak)

    Hi, I have been busy lately, sorry about the late reply.

    On FVM 3 I have decided to change the default method of merging, which doesn’t require an ignore list anymore.

    However, using wp-cli should have not reset the list, sorry about that.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP CLI commands reset “Default Ignore List”’ is closed to new replies.