Move _() to compat.php

git-svn-id: https://develop.svn.wordpress.org/trunk@3901 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2006-06-22 19:45:49 +00:00
parent 5e32c14d39
commit 4b3472c29f
2 changed files with 7 additions and 6 deletions

View File

@ -111,4 +111,11 @@ if(!function_exists('http_build_query')) {
return implode($separator, $res);
}
}
if ( !function_exists('_') ) {
function _($string) {
return $string;
}
}
?>

View File

@ -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;