[wp-trac] [WordPress Trac] #45516: Auto Draft title issue for custom post types
WordPress Trac
noreply at wordpress.org
Thu Aug 22 07:48:49 UTC 2019
#45516: Auto Draft title issue for custom post types
-----------------------------------+-----------------------------
Reporter: rajanit2000 | Owner: SergeyBiryukov
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 5.3
Component: Posts, Post Types | Version: 5.0
Severity: minor | Resolution:
Keywords: has-patch 2nd-opinion | Focuses: administration
-----------------------------------+-----------------------------
Comment (by donmhico):
Thanks for the ticket @rajanit2000. I'm no longer able to reproduce the
issue. I can't find the exact Changeset at the moment. But what I can tell
is that `class-wp-posts-list-table.php` -
https://core.trac.wordpress.org/browser/tags/5.2/src/wp-admin/includes
/class-wp-posts-list-table.php#L1007 - uses `_draft_or_post_title()` -
https://developer.wordpress.org/reference/functions/_draft_or_post_title/
- to determine the title displayed in `wp-admin/edit.php`.
I used the same code as you provided above to create a custom post type
without title support. And what I tried to create a post. This is what I
can see -
https://core.trac.wordpress.org/attachment/ticket/45516/Screen%20Shot%202019-08-22%20at%203.46.40%20PM.png
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45516#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list