[wp-trac] [WordPress Trac] #54301: It is not possible to set 0 as post title

WordPress Trac noreply at wordpress.org
Sat Jan 22 11:17:47 UTC 2022

#54301: It is not possible to set 0 as post title
 Reporter:  h71                |       Owner:  (none)
     Type:  defect (bug)       |      Status:  reopened
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  2.5
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:
Changes (by SergeyBiryukov):

 * status:  closed => reopened
 * version:   => 2.5
 * resolution:  invalid =>


 Replying to [comment:5 azouamauriac]:
 > Hello i'm new here, I've just tested it and I can confirm the bug.
 > but in my dashboard here is wordpress version i have
 [https://prnt.sc/26he9l4]. Although i've downloaded wordpress from svn and
 i'm on trunk branch...

 Hi there, welcome to WordPress Trac!

 That is correct, the current trunk version is 6.0-alpha. The comment above
 just meant that the Version field generally indicates which version the
 issue was introduced in, and `trunk` would be used for any issues specific
 to the current release cycle. While the issue still exists in WordPress
 5.9, it can also be reproduced in older WordPress versions, so it's not
 specific to 5.9.

 The original line was introduced in [6864] for WordPress 2.5, so that
 would be the earliest affected version here. The line was later moved to
 `_draft_or_post_title()` in [9041] / #7801 for WordPress 2.7.

 Some other related tickets: #48965, #49853.

Ticket URL: <https://core.trac.wordpress.org/ticket/54301#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list