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:
parent
619d4d2dba
commit
613639762a
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue