[theme-reviewers] $post->guid Issues in Some Repository Themes
Otto
otto at ottodestruct.com
Thu Jun 23 21:23:37 UTC 2011
On Thu, Jun 23, 2011 at 4:14 PM, Chip Bennett <chip at chipbennett.net> wrote:
> Is there a logical way to flag inappropriate use, while ignoring appropriate
> use?
I thought something like this might work:
If the theme uses the_guid() or get_the_guid() or $post->guid
anywhere, and it also doesn't include the use of the add_feed()
function anywhere else in the theme, then it's doing-it-wrong.
add_feed would be the correct way to add feeds, and the only place
using the guid makes sense is in a feed.
-Otto
More information about the theme-reviewers
mailing list