mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-17 08:05:21 +01:00
Coding Standards: Add missing fullstop to docblocks in wp-includes/vars.php
Follow-up to [57612. Props mukesh27. See #41877. Built from https://develop.svn.wordpress.org/trunk@57613 git-svn-id: http://core.svn.wordpress.org/trunk@57114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
47df0cc10e
commit
c2558a5eaa
@ -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.
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.5-alpha-57612';
|
||||
$wp_version = '6.5-alpha-57613';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user