From 51a57159677992f862e8c04d82371b837a3c12e4 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 10 Sep 2012 17:34:34 +0000 Subject: [PATCH] Restore return by ref for make_entry(). Props SergeyBiryukov. fixes #21839 git-svn-id: http://core.svn.wordpress.org/trunk@21793 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/pomo/mo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/pomo/mo.php b/wp-includes/pomo/mo.php index 4d93e3eeb1..d76cda5c6b 100644 --- a/wp-includes/pomo/mo.php +++ b/wp-includes/pomo/mo.php @@ -215,7 +215,7 @@ class MO extends Gettext_Translations { * @param string $translation translation string from MO file. Might contain * 0x00 as a plural translations separator */ - function make_entry($original, $translation) { + function &make_entry($original, $translation) { $entry = new Translation_Entry(); // look for context $parts = explode(chr(4), $original);