Get the foo out. Props skeltoac. fixes #2879
git-svn-id: http://svn.automattic.com/wordpress/trunk@3938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8c75874ef0
commit
869c09ff9d
|
@ -44,7 +44,7 @@ function wp_tinymce_lang($path) {
|
|||
$replace1 = "'tinyMCELang[\\1\\2\\1]\\3'.stripslashes('\\4').__('\\5').stripslashes('\\4')";
|
||||
|
||||
$search2 = "/\\s:\\s(['\"])(.*)\\1(,|\\s*})/Uem";
|
||||
$replace2 = "' : '.stripslashes('\\1').__('\\2foo').stripslashes('\\1').'\\3'";
|
||||
$replace2 = "' : '.stripslashes('\\1').__('\\2').stripslashes('\\1').'\\3'";
|
||||
|
||||
$search = array($search1, $search2);
|
||||
$replace = array($replace1, $replace2);
|
||||
|
|
Loading…
Reference in New Issue