[wp-trac] [WordPress Trac] #28124: Use a time constant instead of a number in get_theme_feature_list()
WordPress Trac
noreply at wordpress.org
Sun May 4 20:49:58 UTC 2014
#28124: Use a time constant instead of a number in get_theme_feature_list()
----------------------------+----------------------------------------
Reporter: SergeyBiryukov | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.0
Component: Themes | Version: 3.5
Severity: trivial | Keywords: needs-patch good-first-bug
Focuses: |
----------------------------+----------------------------------------
We use `10800` twice in `get_theme_feature_list()`: [source:tags/3.9/src
/wp-admin/includes/theme.php#L240].
`3 * HOUR_IN_SECONDS` should be used instead, see [21996] and [23175].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28124>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list