diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 17319c7f46..9373036210 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -1548,11 +1548,11 @@ function nocache_headers() { * @since 2.1.0 */ function cache_javascript_headers() { - $expiresOffset = 10 * DAY_IN_SECONDS; + $expires_offset = 10 * DAY_IN_SECONDS; header( 'Content-Type: text/javascript; charset=' . get_bloginfo( 'charset' ) ); header( 'Vary: Accept-Encoding' ); // Handle proxies. - header( 'Expires: ' . gmdate( 'D, d M Y H:i:s', time() + $expiresOffset ) . ' GMT' ); + header( 'Expires: ' . gmdate( 'D, d M Y H:i:s', time() + $expires_offset ) . ' GMT' ); } /**