[wp-trac] [WordPress Trac] #21309: Introduce WP_Post class
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 22 22:01:06 UTC 2012
#21309: Introduce WP_Post class
----------------------------+------------------
Reporter: scribu | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.5
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+------------------
Comment (by SergeyBiryukov):
The bug with "Auto Draft" page titles (mentioned in the
[https://irclogs.wordpress.org/chanlog.php?channel=wordpress-
dev&day=2012-08-22&sort=asc#m442245 dev chat]) was introduced in [21572].
Once `get_post()` is called in `edit-form-advanced.php` (via
`get_permalink()`), the empty `$post->post_title` from
`get_default_post_to_edit()` is overridden with "Auto Draft".
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21309#comment:33>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list