From 4b02c602d1775f1a8169ddc28baac18efe609a1c Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 22 Jun 2006 19:45:49 +0000 Subject: [PATCH] Move _() to compat.php git-svn-id: http://svn.automattic.com/wordpress/trunk@3901 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/compat.php | 7 +++++++ wp-includes/functions.php | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/wp-includes/compat.php b/wp-includes/compat.php index 1351d75eb..f32f99c98 100644 --- a/wp-includes/compat.php +++ b/wp-includes/compat.php @@ -111,4 +111,11 @@ if(!function_exists('http_build_query')) { return implode($separator, $res); } } + +if ( !function_exists('_') ) { + function _($string) { + return $string; + } +} + ?> diff --git a/wp-includes/functions.php b/wp-includes/functions.php index c7e257a5c..2593daf38 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -2,12 +2,6 @@ require_once(dirname(__FILE__).'/compat.php'); -if ( !function_exists('_') ) { - function _($string) { - return $string; - } -} - function mysql2date($dateformatstring, $mysqlstring, $translate = true) { global $wp_locale; $m = $mysqlstring;