From bc713a05039c2c2edf87c579b58ff070fc5f6c4b Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 13 Feb 2024 10:09:43 +0000 Subject: [PATCH] Coding Standards: Add missing fullstop to docblocks in `wp-includes/vars.php` Follow-up to [57612. Props mukesh27. See #41877. git-svn-id: https://develop.svn.wordpress.org/trunk@57613 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/vars.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wp-includes/vars.php b/src/wp-includes/vars.php index 05df7ec99a..a123696cb2 100644 --- a/src/wp-includes/vars.php +++ b/src/wp-includes/vars.php @@ -113,42 +113,42 @@ $is_IE = ( $is_macIE || $is_winIE ); // Server detection. /** - * Whether the server software is Apache or something else + * Whether the server software is Apache or something else. * * @global bool $is_apache */ $is_apache = ( str_contains( $_SERVER['SERVER_SOFTWARE'], 'Apache' ) || str_contains( $_SERVER['SERVER_SOFTWARE'], 'LiteSpeed' ) ); /** - * Whether the server software is Nginx or something else + * Whether the server software is Nginx or something else. * * @global bool $is_nginx */ $is_nginx = ( str_contains( $_SERVER['SERVER_SOFTWARE'], 'nginx' ) ); /** - * Whether the server software is Caddy or something else + * Whether the server software is Caddy or something else. * * @global bool $is_caddy */ $is_caddy = ( str_contains( $_SERVER['SERVER_SOFTWARE'], 'Caddy' ) ); /** - * Whether the server software is IIS or something else + * Whether the server software is IIS or something else. * * @global bool $is_IIS */ $is_IIS = ! $is_apache && ( str_contains( $_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS' ) || str_contains( $_SERVER['SERVER_SOFTWARE'], 'ExpressionDevServer' ) ); /** - * Whether the server software is IIS 7.X or greater + * Whether the server software is IIS 7.X or greater. * * @global bool $is_iis7 */ $is_iis7 = $is_IIS && (int) substr( $_SERVER['SERVER_SOFTWARE'], strpos( $_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS/' ) + 14 ) >= 7; /** - * Test if the current browser runs on a mobile device (smart phone, tablet, etc.) + * Test if the current browser runs on a mobile device (smart phone, tablet, etc.). * * @since 3.4.0 * @since 6.4.0 Added checking for the Sec-CH-UA-Mobile request header.