mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 14:35:07 +00:00
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
This commit is contained in:
parent
f483a85676
commit
51a5715967
@ -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…
x
Reference in New Issue
Block a user