Opened 7 years ago
Closed 7 years ago
#40693 closed defect (bug) (duplicate)
modify file for problem ticket #40585
Reported by: | micheleconversano | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.7.4 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
In this ticket https://core.trac.wordpress.org/ticket/40585 I have reported a problem 'Update' vs 'Schedule'. For resolved the problema I have edited file /wp-admin/meta-boxes.php replacing function "time()" with function "current_time()" at row 261.
-- origin --
if ( !empty($post->post_date_gmt) && time() < strtotime( $post->post_date_gmt . ' +0000' ) )
-- modify --
if ( !empty($post->post_date_gmt) && current_time() < strtotime( $post->post_date_gmt . ' +0000' ) )
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hey there,
Thanks for your contribution!
It now helps understand the issue you were having in #40585. Since there's no reason to have two tickets for that, I'll re-open that ticket and close this one as a duplicate.
Note that I've uploaded a proper patch for your change to #40585. See https://make.wordpress.org/core/handbook/tutorials/working-with-patches/ for information about working with patches.