diff -r 346c88efed21 -r 5e2f62d02dcd wp/wp-includes/vars.php --- a/wp/wp-includes/vars.php Mon Jun 08 16:11:51 2015 +0000 +++ b/wp/wp-includes/vars.php Tue Jun 09 03:35:32 2015 +0200 @@ -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() ) {