[wp-meta] [Making WordPress.org] #2963: Support Forums: Approving a post should not reset its date
Making WordPress.org
noreply at wordpress.org
Mon Jul 17 22:24:59 UTC 2017
#2963: Support Forums: Approving a post should not reset its date
----------------------------+-----------------------------
Reporter: SergeyBiryukov | Owner: SergeyBiryukov
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Support Forums | Resolution: fixed
Keywords: |
----------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"5685"]:
{{{
#!CommitTicketReference repository="" revision="5685"
Support Forums: Keep the original post date when approving a pending post.
Set a non-empty `post_date_gmt` for pending posts to prevent
`wp_update_post()` from overwriting the post date on approving.
Fixes #2963.
}}}
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2963#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list