• We have multiple website’s with wordpress and we are updating them with WP-CLI.
    Most plugin’s are updated fine to the latest minor version.
    But some plugin’s are not recognized as minor updates.

    When we call /usr/local/bin/wp plugin update –minor –all –dry-run on 1 of the sites the result is:
    No plugin updates available.

    But when i remove the –minor option we are calling it without the –minor option we get the following result

    +—————————-+——–+———+—————-+
    | name | status | version | update_version |
    +—————————-+——–+———+—————-+
    | advanced-custom-fields-pro | active | 5.8.5 | 5.8.7 |
    | gravityforms | active | 2.4.14 | 2.4.15 |
    +—————————-+——–+———+—————-+

    Both plugin’s have patch version updates so they should also have been in the results with the –minor option

    how does WP-CLI check if a plugin has a major, minor, patch update?
    I like to contact the plugin makers and tell them what to do to fix this bug

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP-CLI plugin doesn’t update with –minor option’ is closed to new replies.