X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/fa11948979fd6a4ea5705dc613b239699a459db3..46588ee871246a923d972538dbc93b26f4fda932:/wp-includes/vars.php diff --git a/wp-includes/vars.php b/wp-includes/vars.php index 045cfdc2..da29cb20 100644 --- a/wp-includes/vars.php +++ b/wp-includes/vars.php @@ -6,15 +6,18 @@ * for the browser to set which one is currently being used. * * Detects which user environment WordPress is being used on. - * Only attempts to check for Apache and IIS. Two web servers - * with known permalink capability. + * Only attempts to check for Apache, Nginx and IIS -- three web + * servers with known pretty permalink capability. + * + * Note: Though Nginx is detected, WordPress does not currently + * generate rewrite rules for it. See https://codex.wordpress.org/Nginx * * @package WordPress */ global $pagenow, $is_lynx, $is_gecko, $is_winIE, $is_macIE, $is_opera, $is_NS4, $is_safari, $is_chrome, $is_iphone, $is_IE, - $is_apache, $is_IIS, $is_iis7; + $is_apache, $is_IIS, $is_iis7, $is_nginx; // On which page are we ? if ( is_admin() ) {