[theme-reviewers] $post->guid Issues in Some Repository Themes
Emil Uzelac
emil at themeid.com
Thu Jun 23 20:23:14 UTC 2011
thanks for the info.
----
*Emil Uzelac* | ThemeID | T: 224-444-0006 | Twitter: @EmilUzelac | E:
emil at themeid.com | http://themeid.com
Make everything as simple as possible, but not simpler. - Albert Einstein
On Thu, Jun 23, 2011 at 3:16 PM, Mike Little <wordpress at zed1.com> wrote:
> On Thu, Jun 23, 2011 at 20:53, Simon Prosser <pross at pross.org.uk> wrote:
>
>> I got a tweet from Chip asking for theme-check to flag it as bad, so ..
>>
>> Are people not supposed to use it at all? if so theme fails? and if so
>> what is the suggested alternative?
>>
>>
> You should *never*, *ever* use the guid in your theme. It is (meant to be)
> a globally unique identifier for RSS readers.
>
> RSS readers use the GUID to know which posts are newly published, so they
> don't retrieve the same content over and over.
>
> It is not a permalink (even though it looks like one) and could just as
> well be a random string of hexadecimal characters. In fact that's one of the
> current suggestions on how to make sure they really are unique: due to
> inconsistencies in behaviour over the years the current ones are not
> necessarily unique, and of course people change them all the time -- *holds
> up guilty hand*.
>
> So any code that references or outputs the guid is "doing it wrong"
>
> Mike
>
> --
> Mike Little
> http://zed1.com/
>
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110623/31c90137/attachment.htm>
More information about the theme-reviewers
mailing list