I have a plugin which retrieve the GUID of a post
$page_data = get_page( get_the_ID() ); $link = $page_data->guid;
This used to get a unique URL for each page - http://shkspr.mobi/blog/?p=2333 for example.
Since I upgraded to WP 3.0, every GUID I retrieve is the same - that of the last post I made on the old version of WordPress.
I can see in the database that there are unique GUIDs for each post but, for some reason, WP isn't picking them up.
Any idea how I fix this?