Restore return by ref for make_entry(). Props SergeyBiryukov. fixes #21839
git-svn-id: https://develop.svn.wordpress.org/trunk@21793 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
879cb8231b
commit
ba6a385ac1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user