[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:40 UTC 2017


#2963: Support Forums: Approving a post should not reset its date
----------------------------+------------------
 Reporter:  SergeyBiryukov  |       Owner:
     Type:  defect          |      Status:  new
 Priority:  normal          |   Milestone:
Component:  Support Forums  |  Resolution:
 Keywords:                  |
----------------------------+------------------

Comment (by SergeyBiryukov):

 Spam posts appear to be unaffected, only pending posts are. The issue is
 that [https://core.trac.wordpress.org/browser/tags/4.8/src/wp-
 includes/post.php?marks=3565-3570,3575-3578#L3546 wp_update_post()]
 overwrites  the date for pending posts, unless the post already has a non-
 empty `post_date_gmt`.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2963#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list