[wp-trac] [WordPress Trac] #62468: wp_update_post overwrites post_date when updating post_status

WordPress Trac noreply at wordpress.org
Tue Aug 19 13:09:43 UTC 2025


#62468: wp_update_post overwrites post_date when updating post_status
-------------------------------------------------+-------------------------
 Reporter:  aguerra07                            |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Posts, Post Types                    |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-unit-    |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by kirasong):

 I verified that the added tests in the PR fail without the patch and pass
 with the rest of the patch applied.

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


More information about the wp-trac mailing list