WordPress.org

Ready to get started?Download WordPress

Forums

Better Plugin Compatibility Control
Where does the version compatibility info come from? (2 posts)

  1. GermanKiwi
    Member
    Posted 1 year ago #

    Hi, quick question, does BPCC get its version information directly live from wordpress.org, or from the plugin itself residing on my website (eg. the version info inside each plugin's Readme.txt file)?

    I imagine the most accurate method would be to get the info directly from wordpress.org, right? Because a plugin might update its compatibility info there without actually releasing a new plugin version? (I assume that is possible?) Therefore the plugin would still be the same version as before, but on wordpress.org it would show that it's compatible with a newer version of WordPress, while the Readme.txt file on my server would still show the older compatibility info.

    http://wordpress.org/extend/plugins/better-plugin-compatibility-control/

  2. Alphawolf
    Member
    Plugin Author

    Posted 1 year ago #

    Hey GermanKiwi,

    it currently gets its data from the plugin's local readme.txt file if it does exist. If if doesn't it get the data using http://api.wordpress.org/plugins/info/1.0/

    The reason for doing that is that AFAIK http://api.wordpress.org/plugins/info/1.0/ gets its data from the SVN trunk, but some people don't use the trunk for their most recent version but set the stable tag to a version number after they finished developing in trunk.

    So if I'd always use api.wordpress.org/plugins version info, it would be showing version info of plugin code in development instead of the released one the user has installed on his site.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.