[wp-trac] [WordPress Trac] #45516: Auto Draft title issue for custom post types
WordPress Trac
noreply at wordpress.org
Tue Nov 11 02:04:54 UTC 2025
#45516: Auto Draft title issue for custom post types
-------------------------------------------------+-------------------------
Reporter: rajanit2000 | Owner:
| SergeyBiryukov
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.9
Component: Posts, Post Types | Version: 5.0
Severity: minor | Resolution:
Keywords: has-copy-review has-screenshots | Focuses:
has-test-info has-patch has-unit-tests | administration
-------------------------------------------------+-------------------------
Comment (by wildworks):
Let me explain my proposal accurately once again.
> My understanding is that the "title" post type support simply determines
whether or not to display the UI for editing the title in the editor. It
doesn't relate to what the title of that post is, or whether the title
should be displayed on the front end. For example, `the_title` and
`get_the_title` do not consider whether that post type supports titles.
I'm not saying this is a bug; I believe this is the correct specification.
This also applies to support for many other post types. Basically,
existing data should be output on the front end even if there is no
support for that post type.
> Applying the patch causes the title to change from 'Auto Draft' to '(no
title supported)' on the frontend for the post that doesn't support the
title. This is a more serious problem for me.
I feel that applying the patch will only make the symptoms worse on the
front end. This is the main reason I'm hesitant to apply the patch.
> Perhaps it would be ideal to set an empty string instead of forcing some
string as the title? That way, it would work as follows:
>
> - Dashboard: `(no-title)` is displayed as a fallback.
> - Front end: Nothing is displayed as a title.
This is the best approach I can think of at the moment, but considering
there's only half a day left until the RC1 release and there are differing
opinions, my personal opinion remains unchanged: I still believe this
ticket should be postponed to version 7.0 or a future release.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45516#comment:68>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list