Yeah for some reason I have a bunch that are set to the non-permalink, and not the /?p=

for example here: http://frumph.net/shop/?comic=736 i'm doing a var_dump of $post->guid;

a couple comics previous it's showing the same thing with the $post->guid; where it's not the /?p= type, cannot reproduce why they're setting to the permalink structure, nor have I noticed it previous to this, however they are. /odd



----- Original Message ----- From: "Dion Hulse (dd32)" <[email protected]>
To: <[email protected]>
Sent: Tuesday, May 18, 2010 1:05 AM
Subject: Re: [wp-testers] $post data's GUID


On Tue, 18 May 2010 16:32:47 +1000, Philip M. Hofer (Frumph) <[email protected]> wrote:

When changing the slug for a post is it supposed to modify the guid entry for the post as well? currently it is not so it retains the old slug inside of it.

The GUID should be set to the non-pretty-permalink uri, ie. somesite.com/?p=345, You cannot rely on the guid field being a valid URI, or being a valid entry point to a post, The fact it is a URI is merely because its good unique identifier for posts.

But no, I dont believe it should update it.
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers


_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to