wp-includes/SimplePie/src/Misc.php:23$secondsintstring public static function time_hms(int $seconds) { $time = ''; $hours = floor($seconds / 3600); $remainder = $seconds % 3600; if ($hours > 0) { $time .= $hours.':'; } $minutes = floor($remainder / 60); $seconds = $remainder % 60; if ($minutes < 10 && $hours > 0) { $minutes = '0' . $minutes; } if ($seconds < 10) { $seconds = '0' . $seconds; } $time .= $minutes.':'; $time .= $seconds; return $time; }2 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$seconds retyped from untyped to int.verified against sourcenone to string.verified against sourcesrc/wp-includes/SimplePie/src/Misc.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.