Skip to content

Commit eeae684

Browse files
committed
Add missing since tags
Signed-off-by: Shyamsundar Gadde <[email protected]>
1 parent 621867c commit eeae684

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

plugins/optimization-detective/class-od-url-metric-group.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ static function ( OD_URL_Metric $a, OD_URL_Metric $b ): int {
274274
*
275275
* @since 0.1.0
276276
* @since 0.9.0 If the current environment's generated ETag does not match the URL Metric's ETag, the URL Metric is considered stale.
277+
* @since n.e.x.t Negative freshness TTL values now disable timestamp-based freshness checks.
277278
*
278279
* @return bool Whether complete.
279280
*/

plugins/optimization-detective/storage/data.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ function od_get_url_metric_freshness_ttl(): int {
3030
* In practice, the value should be at least an hour.
3131
*
3232
* @since 0.1.0
33+
* @since n.e.x.t Negative values disable timestamp-based freshness checks.
3334
*
3435
* @param int $ttl Expiration TTL in seconds. Defaults to 1 week.
3536
*/

0 commit comments

Comments
 (0)