WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24730, comment 19


Ignore:
Timestamp:
05/27/2019 05:36:43 PM (18 months ago)
Author:
johnjamesjacoby
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24730, comment 19

    initial v1  
    1111Subtracting a variable from itself reads like a copy/paste coding error, even with the type-cast as a hint that it isn’t an exact-exact subtraction.
    1212
    13 Lastly, instead of `60` the WordPress constant `MINUTE_IN_SECONDS` should probably be used.
     13Lastly, instead of `60` the WordPress constant `MINUTE_IN_SECONDS` should probably be used (unless this is minutes in an hour, which I suppose it probably is, and there is no constant for.)