What Triggers a Plugin Update Alert

How does WordPress know a plugin has an available update?

Is the process handled by the readme.txt file? I am trying to manage 3rd party plugins that I alter in an effort to better fit/meet the needs of my instance of WordPress but I would like to maintain the functionality that alerts the CMS user that an update is available for the 3rd party plugin.

If I alter a plugin’s title will WordPress still know if there is an update to that plugin’s code base? E.g. ‘Plugin Name’ (changed to) ‘Plugin Name – Modified’

1 Answer
1

Basically it sends a list of your plugins to the wordpress.org API server, which does some black magic to try to figure out if any of the plugins you have match the ones it has, then it returns version info back for them.

The API uses a rather elaborate mechanism to match plugins against plugins it knows about, but these are the main things checked for: Plugin URI, Plugin Name, and Plugin slug (the directory name the plugin is in)

Change any of those and you reduce the chances of it finding a match, but it might still get it if two of them match, for example.

Info in the readme.txt is not used for this. The header of the plugin’s PHP file itself is used.

Leave a Comment