[wp-trac] [WordPress Trac] #46210: Add helpers for default/empty datetime value

WordPress Trac noreply at wordpress.org
Tue Aug 20 22:30:32 UTC 2019


#46210: Add helpers for default/empty datetime value
-----------------------------+------------------------------
 Reporter:  johnjamesjacoby  |       Owner:  (none)
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Database         |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:
-----------------------------+------------------------------

Comment (by johnjamesjacoby):

 Somewhat related to #41785...

 If there were such a helper function, it ''could'' include a MySQL version
 check, and own the default return value based on that and whatever MySQL
 modes happen to be set.

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


More information about the wp-trac mailing list