[wp-trac] [WordPress Trac] #45516: Auto Draft title issue for custom post types

WordPress Trac noreply at wordpress.org
Mon Nov 10 15:41:06 UTC 2025


#45516: Auto Draft title issue for custom post types
-------------------------------------------------+-------------------------
 Reporter:  rajanit2000                          |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
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 SirLouen):

 Replying to [comment:62 wildworks]:
 > 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.

 Yes, I can agree with you that this must be fixed. But it can potentially
 display "Auto Draft".

 > For example, the_title and get_the_title do not consider whether that
 post type supports titles.

 The problem here is this. I think we need to fix this by adding another
 ticket because it's correlated but not strictly related. This is a wrong
 behavior in the front end (showing a weird title "Auto Draft" when no
 title is supported) vs. showing a title in `the_title` and `get_the_title`
 when no title is supported.

 [[Image(https://i.imgur.com/fBA98Ab.png)]]

 But the discussion of @peterwilsoncc is that he doesn't like `(no title
 supported)` because, as @helen said, it feels slightly misdirecting (but
 he is also disregarding that currently people are seing `Auto Draft` which
 is not slightly misdirecting but deceiving).

 PS: The last 10 times I opened a ticket for something like this, they were
 entirely ignored and ultimately closed. So I will wait to see a conclusion
 on any of your sides.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45516#comment:63>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list