• https://www.ads-software.com/plugins/megamenu/ shows version 3.4.1

    however the Stable Tag shown in the readme.txt file shows:
    Stable tag: 3.3.2

    This causes our update script to download the plugin every 12 hours.

    We don’t use the WordPress automatic update, for security reasons.

    If the above is a mistake, could it be rectified with the next update please?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support megatom

    (@megatom)

    Hi nikdow,

    I have only ever updated the stable tag in trunk (and this is the plugin directory itself references), so its best to check this file:

    https://plugins.trac.www.ads-software.com/browser/megamenu/trunk/readme.txt

    … for the latest stable tag. That should also work for every other plugin also.

    Regards,
    Tom

    Thread Starter nikdow

    (@nikdow)

    Thanks for your response.

    Our script already gets the correct stable tag from the WP API but we have to compare that to the installed plugin, which we install from the tag, not from trunk. The installed plugin references an incorrect version number and that is the only way the script can determine the version of the installed plugin on our server.

    We can’t install from trunk because some plugins have pre-release tags which we obviously don’t want to automatically install.

    99% of plugins do this correctly, I’m afraid that only a couple that we use are not updating the stable tag in the readme that is included with the installed plugin code.

    Plugin Support megatom

    (@megatom)

    Hi nikdow,

    The version number – the one used by WordPress itself – is taken from the plugin header, here:

    https://plugins.trac.www.ads-software.com/browser/megamenu/tags/3.4.1/megamenu.php?rev=3252080#L6

    I’d suggest using this function to get the current version number: https://developer.www.ads-software.com/reference/functions/get_plugin_data/

    The stable tag is only used by the plugin directory and they read from trunk.

    Regards,
    Tom

    • This reply was modified 2 weeks, 6 days ago by megatom.
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.