[wp-trac] [WordPress Trac] #48886: Posting via XMLRPC (eg. WordPress Android App) causes post_date to have a doubled substitution by timezone

WordPress Trac noreply at wordpress.org
Mon Dec 9 13:44:27 UTC 2019


#48886: Posting via XMLRPC (eg. WordPress Android App) causes post_date to have a
doubled substitution by timezone
--------------------------+------------------------
 Reporter:  noyle         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Date/Time     |     Version:  5.3
 Severity:  major         |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+------------------------
Changes (by Rarst):

 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 From looking at the code it seems `post_date_gmt` will be prioritized in
 input so effectively it doesn't matter what app sends for `post_date`.
 Probably fine.

 Think the place where offset doubles down is indeed the place #30429 was
 pointing out, so this seems to be a duplicate, I'll continue there.

 No idea why it was working in 5.2, likely some (common case) of multiple
 wrong behaviors cancelling each other out. Some of that got affected by
 things getting ''fixed'' in 5.3.

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


More information about the wp-trac mailing list