[wp-trac] [WordPress Trac] #25347: mysql2date() limitation for scheduled posts

WordPress Trac noreply at wordpress.org
Mon Aug 19 15:49:42 UTC 2019


#25347: mysql2date() limitation for scheduled posts
--------------------------------------+-----------------------------
 Reporter:  nofearinc                 |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.3
Component:  Date/Time                 |     Version:  3.0
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45851" 45851]:
 {{{
 #!CommitTicketReference repository="" revision="45851"
 Date/Time: In `wp_insert_post()`, when checking the post date to set
 `future` or `publish` status, use string comparison to work around far
 future dates (year 2038+) on 32-bit systems.

 Props Rarst, nofearinc.
 Fixes #25347.
 }}}

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


More information about the wp-trac mailing list