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

WordPress Trac noreply at wordpress.org
Tue Nov 11 21:54:11 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:  7.0
Component:  Posts, Post Types                |     Version:
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+---------------------

Comment (by peterwilsoncc):

 @SirLouen The lead up to RC 1 is always a busy time and I didn't get a
 chance to review the changes.

 Without an explanation on the commit [https://github.com/WordPress
 /wordpress-
 develop/pull/9699/commits/af483f2b158d206f28b7fb3c47bb6a033e761b66 Fix the
 tests], I prioritised other items that could be reviewed more quickly to
 allow me to test this this-morning.

 I've posted on the pull request.

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


More information about the wp-trac mailing list