[wp-hackers] WordPress Plugin GUID

Stephen Rider wp-hackers at striderweb.com
Fri Jun 5 12:42:49 GMT 2009


On Jun 5, 2009, at 7:32 AM, Ryan McCue wrote:

> On 5/06/2009 10:30 PM, Stephen Rider wrote:
>> On Jun 5, 2009, at 7:06 AM, Jeremy Visser wrote:
>>> I guess WordPress would have to still offer updates for plugins that
>>> don't have a local GUID, but the slug matches. Or does that defeat  
>>> the
>>> purpose, or not make sense?
>>
>> I agree that without the GUID it shouldn't offer the update (that  
>> is, only auto-update plugins that came from WP-Extend).
>
> Then it would not be backwards compatible, as the old plugins on WP  
> Extend don't have GUIDs, so WP would be unable to update from the  
> current plugin (without a GUID) to a new version with a GUID.
>
> That is, if I understand it correctly.

It works if we follow Peter's suggestion:

> Is it not something the extend plugin pacager could add to the  
> readme as it packaged up the plugin for downloads that way each  
> plugin gets the correct GUID for free.

The packager adds the GUID automatically.

Of course, we *would* need some sort of "transition" system , since  
plugins already installed would not get the GUID until the next time  
they're updated.

Or is that what you meant? ;-)

Stephen


More information about the wp-hackers mailing list