Page auto-draft & guid generation
|Reported by:||shawnparker||Owned by:|
|Priority:||highest omg bbq||Milestone:||3.1|
Guid generation for pages is currently broken. auto-draft status is currently not handled and all page guids are simply the base site_url instead of site_url + ?page_id=000.
I looks as if auto-drafts were handled for posts here: http://core.trac.wordpress.org/changeset/14948
Attached is a patch for the _get_page_link() function in wp-includes/link-template.php to account for a post_status of auto-draft and properly generate the guid for pages (patch is to 3.0.1 tag, but issue exists in the same function in 3.0 branch and trunk as well).
Change History (15)
- Priority changed from normal to highest omg bbq
- Severity changed from major to critical