[wp-trac] [WordPress Trac] #6492: Guids No Longer Have Permalink Format
WordPress Trac
noreply at wordpress.org
Fri Feb 26 01:40:40 UTC 2016
#6492: Guids No Longer Have Permalink Format
-------------------------+-----------------------------
Reporter: brianwhite | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Future Release
Component: Database | Version: 2.5
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-------------------------+-----------------------------
Comment (by rmccue):
Replying to [comment:85 Otto42]:
> Does that adequately address nacin's point 1 from above?
>
> > 1. Stop using GUIDs for anything other than UUID usage. Attachments
are guilty here.
>
> If so, then addressing point 2 becomes possible, however we may want to
consider any impact on plugins using the guid field incorrectly. Might be
worth a scan.
It doesn't change GUIDs for attachments at all yet. The primary issue with
these is that at one point, WordPress used the GUID for the filename
itself, and that was the recommended way of getting the direct file URL.
If we change this, we technically break BC, which is a problem. I'm not
sure whether we want to consider that.
Core already stopped using GUIDs, I believe #33386 mopped up the last
instances of it.
Apart from attachments, all other GUIDs become UUIDs, but only for new
posts. Old posts won't change.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/6492#comment:86>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list