From 8108c0babef967f8ebbfd9d6c4b599231abd6a8b Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Thu, 8 Jan 2015 06:13:05 +0000 Subject: [PATCH] PHP keywords and constants "true", "false", "null" should be in lower case - there was one lingering capitalized `false` in `_http_build_query()`. See #30799. git-svn-id: https://develop.svn.wordpress.org/trunk@31086 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 3b69570bf3..ea868d7284 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -703,7 +703,7 @@ function _http_build_query( $data, $prefix = null, $sep = null, $key = '', $urle $k = $key . '%5B' . $k . '%5D'; if ( $v === null ) continue; - elseif ( $v === FALSE ) + elseif ( $v === false ) $v = '0'; if ( is_array($v) || is_object($v) )