wp-includes/functions.php:6270Determines whether the server is running an earlier than 1.5.0 version of lighttpd.
boolfunction is_lighttpd_before_150() { $server_parts = explode( '/', $_SERVER['SERVER_SOFTWARE'] ?? '' ); $server_parts[1] = $server_parts[1] ?? ''; return ( 'lighttpd' === $server_parts[0] && -1 === version_compare( $server_parts[1], '1.5.0' ) );}Introduced in 2.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/functions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.