Add _() back to compat.php (it is non-default). see #16918. props aaroncampbell

git-svn-id: http://svn.automattic.com/wordpress/trunk@17620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2011-04-07 15:46:48 +00:00
parent 619d4d2dba
commit 613639762a
1 changed files with 14 additions and 0 deletions

14
wp-includes/compat.php Normal file
View File

@ -0,0 +1,14 @@
<?php
/**
* WordPress implementation for PHP functions either missing from older PHP versions or not included by default.
*
* @package PHP
* @access private
*/
// If gettext isn't available
if ( !function_exists('_') ) {
function _($string) {
return $string;
}
}