[wp-hackers] Plugin Update Checking and the Plugin URI
viper at viper007bond.com
Sun Sep 23 00:40:45 GMT 2007
Er, I take that back. I misread the code, but let me explain further how it
works while I'm at it.
The function grabs your plugins list and sends the whole thing at once to
WordPress.org, regardless of what the URI is of the plugin. WP.org then
parses that, figures out if any of those plugins are hosted at WP.org, and
then returns data on the ones it knows about.
So simply put, if you want update notices, you need to host the plugin at
WP.org and the details of the plugin (author, URI, title, etc.) don't matter
in terms of whether it'll get update checked or not.
On 9/22/07, Viper007Bond <viper at viper007bond.com> wrote:
> It has nothing to do with the URI.
> Check out the code /wp-admin/includes/update.php. It uses the folder name
> and plugin name as well as the version and compares it to the ones hosted on
> the WP.org repository.
> On 9/22/07, Matt <speedboxer at gmail.com> wrote:
> > For the plugin update checking in 2.3, does the Plugin URI of the plugin
> > have to be that of wp.org's? For example, if you have added your plugin
> > to
> > wp.org, but you have the Plugin URI of the plugin set to your site,
> > will 2.3still check for updates for it?
> > Thanks,
> > --
> > Matt (speedboxer at gmail.com)
> > http://mattsblog.ca/ | http://livemp.net/
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> Viper007Bond | http://www.viper007bond.com/
Viper007Bond | http://www.viper007bond.com/
More information about the wp-hackers