Move _() to compat.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@3901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e673d82afb
commit
4b02c602d1
|
@ -111,4 +111,11 @@ if(!function_exists('http_build_query')) {
|
|||
return implode($separator, $res);
|
||||
}
|
||||
}
|
||||
|
||||
if ( !function_exists('_') ) {
|
||||
function _($string) {
|
||||
return $string;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue