From 3ee2262d7e742077ce40cf142e95474daffc8833 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 10 Jan 2014 18:15:13 +0000 Subject: [PATCH] Update the wp-inclues/vars.php file header to include Nginx as a recognized web server. Props netweb for the initial patch. Props markjaquith. Fixes #26249. Built from https://develop.svn.wordpress.org/trunk@26931 git-svn-id: http://core.svn.wordpress.org/trunk@26812 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/vars.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/wp-includes/vars.php b/wp-includes/vars.php index f1e67b627b..996d173830 100644 --- a/wp-includes/vars.php +++ b/wp-includes/vars.php @@ -6,8 +6,11 @@ * 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 http://codex.wordpress.org/Nginx * * @package WordPress */