[wp-trac] [WordPress Trac] #55503: Post Date display issue if we set empty from General Settings page

WordPress Trac noreply at wordpress.org
Thu Mar 31 16:41:44 UTC 2022


#55503: Post Date display issue if we set empty from General Settings page
--------------------------+------------------------------
 Reporter:  rishishah     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Date/Time     |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  administration
--------------------------+------------------------------

Comment (by Rarst):

 Technically empty string ''is'' a valid date format. I would be wary of
 introducing a special case for it, given it is long established feature
 and upstream PHP functions do not act like that.

 Also I am not sure anyone in the wild uses it to blank output
 ''purposely'', but can't be sure they are not either.

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


More information about the wp-trac mailing list