[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:50:10 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 audrasjb):

 Replying to [comment:7 hztyfoon]:
 > `2 * HOUR_IN_SECONDS` makes more sense than `( MINUTE_IN_SECONDS / 30 )
 * HOUR_IN_SECONDS`
 > same goes for the other line's change.

 Agreed.

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


More information about the wp-trac mailing list