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

WordPress Trac noreply at wordpress.org
Tue Nov 19 13:40:06 UTC 2024


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

Comment (by parthvataliya):

 == Test Report
 === Description
 This report validates whether the indicated patch works as expected.

 Patch tested: https://core.trac.wordpress.org/attachment/ticket/62468/fix-
 wp-update-post.patch

 === Environment
 - WordPress: 6.8-alpha-59274-src
 - PHP: 8.2.22
 - Server: nginx/1.27.0
 - Database: mysqli (Server: 8.0.39 / Client: mysqlnd 8.2.22)
 - Browser: Chrome 129.0.0.0
 - OS: Linux
 - Theme: Twenty Twenty-Five 1.0
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0

 === Actual Results
 1.  ✅ Issue resolved with patch.

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


More information about the wp-trac mailing list