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:
ryan 2006-06-30 00:07:30 +00:00
parent 8c75874ef0
commit 869c09ff9d
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ function wp_tinymce_lang($path) {
$replace1 = "'tinyMCELang[\\1\\2\\1]\\3'.stripslashes('\\4').__('\\5').stripslashes('\\4')"; $replace1 = "'tinyMCELang[\\1\\2\\1]\\3'.stripslashes('\\4').__('\\5').stripslashes('\\4')";
$search2 = "/\\s:\\s(['\"])(.*)\\1(,|\\s*})/Uem"; $search2 = "/\\s:\\s(['\"])(.*)\\1(,|\\s*})/Uem";
$replace2 = "' : '.stripslashes('\\1').__('\\2foo').stripslashes('\\1').'\\3'"; $replace2 = "' : '.stripslashes('\\1').__('\\2').stripslashes('\\1').'\\3'";
$search = array($search1, $search2); $search = array($search1, $search2);
$replace = array($replace1, $replace2); $replace = array($replace1, $replace2);