From ddf32533e6e9ceaac8406bf3bc772f84c445f6dd Mon Sep 17 00:00:00 2001 From: markjaquith Date: Fri, 12 Jan 2007 21:46:29 +0000 Subject: [PATCH] That'll teach me to trust a code snippet from php.net ... typo fix from last commit. relates to #3528 git-svn-id: http://svn.automattic.com/wordpress/trunk@4725 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 2b73a180d0..d2e7ab78a4 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -816,7 +816,7 @@ function status_header( $header ) { elseif ( 410 == $header ) $text = 'Gone'; - if ( version_compare(php_version(), '4.3.0', '>=') ) + if ( version_compare(phpversion(), '4.3.0', '>=') ) @header("HTTP/1.1 $header $text", true, $header); else @header("HTTP/1.1 $header $text");