[wp-hackers] update $wp_query->post->guid fails

24/7 24-7 at gmx.net
Fri Jul 9 19:05:51 UTC 2010

Hi list members,

i imported test/example posts some time ago. Today i checked the

global $wp_query;
$test_me = $wp_query->post->guid;
echo $test_me;

The result was http://dev.*****.com/dan/wordpress/?p=53

I than took a look into $wpdb->table_prefix . '_posts' and found that
it was really stored there as the result told me. I tried saving the
post again, but the guid-column field stays the same.

Am i running into a bug? Thanks!

More information about the wp-hackers mailing list