Opened 9 years ago
Closed 9 years ago
#40693 closed defect (bug) (duplicate)
modify file for problem ticket #40585
| Reported by: | micheleconversano | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 4.7.4 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.