[wp-trac] [WordPress Trac] #56293: Use 'MINUTE_IN_SECONDS' for consistency in 'update.php' file

WordPress Trac noreply at wordpress.org
Wed Jul 27 14:20:08 UTC 2022


#56293: Use 'MINUTE_IN_SECONDS' for consistency in 'update.php' file
----------------------------+-------------------------------
 Reporter:  hztyfoon        |       Owner:  audrasjb
     Type:  defect (bug)    |      Status:  reviewing
 Priority:  normal          |   Milestone:  6.1
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  coding-standards
----------------------------+-------------------------------

Comment (by GaryJ):

 The 56293.diff patch seems unnecessarily complex. Just because we want to
 say 2 hours or 5 hours, doesn't mean we need to derive the 2 or the 5 from
 some division of the MINUTE_IN_SECONDS constant.

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


More information about the wp-trac mailing list