[wp-trac] [WordPress Trac] #40585: 'Update' vs 'Schedule'

WordPress Trac noreply at wordpress.org
Sun Sep 14 15:06:53 UTC 2025


#40585: 'Update' vs 'Schedule'
-------------------------------+-------------------------
 Reporter:  micheleconversano  |       Owner:  (none)
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:  worksforme
 Keywords:  has-patch          |     Focuses:
-------------------------------+-------------------------
Changes (by SirLouen):

 * keywords:  has-patch needs-testing => has-patch
 * status:  reopened => closed
 * resolution:   => worksforme
 * milestone:  Awaiting Review =>


Comment:

 == Reproduction Report
 === Description
 ❌ This report can't validates that the issue can be reproduced.

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.29
 - Server: nginx/1.29.1
 - Database: mysqli (Server: 8.4.6 / Client: mysqlnd 8.2.29)
 - Browser: Chrome 139.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Twenty 2.9
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0
   * User Switching 1.10.0

 === Testing Instructions
 - Trying to reproduce the steps in OP
 1. Create a post in the past, say yesterday. Publish it.
 2. Edit the post in the past.
 3. Wait one or two minutes
 4. Check for title of the save button
 5. 👌 The button is "Update"

 === Actual Results
 1. ❌ Issue is not happening

 === Additional Notes
 - I can't really reproduce the instructions. Checking at the provided
 patch, I'm not even sure what to expect
 `current_time` without parameters gets:
 {{{
 $datetime = new DateTime( 'now', wp_timezone() );
 }}}
 - Revisions are set at the right time
 - The  comparison is being done between `time` which returns the GMT
 current time, and the `post_date_gmt` which is the exact time in GMT. So
 both should patch. `current_time` would only make sense if we compared
 with `post_date`
 - In conclusion, I'm not sure if the reporter was doing something wrong,
 but considering that is not reproducible, and nothing has moved for 8
 years, its time to close this as `worksforme`

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


More information about the wp-trac mailing list