[wp-trac] [WordPress Trac] #28992: mysql2date() return empty string not false

WordPress Trac noreply at wordpress.org
Sun Oct 4 19:53:59 UTC 2015


#28992: mysql2date() return empty string not false
-------------------------------------------------+-------------------------
 Reporter:  pbearne                              |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Date/Time                            |  Release
 Severity:  normal                               |     Version:  3.8
 Keywords:  needs-testing dev-feedback needs-    |  Resolution:
  refresh                                        |     Focuses:
-------------------------------------------------+-------------------------

Comment (by aaroncampbell):

 Sorry, I left out an important bit:
 An invalid date, with a format string other than `U` or `G` has returned
 the current date for a very long time with this function (pre WordPress
 1.0).

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


More information about the wp-trac mailing list