[wp-trac] [WordPress Trac] #23232: [E_STRICT] mo.php import_from_reader
WordPress Trac
noreply at wordpress.org
Fri Jan 18 14:11:08 UTC 2013
#23232: [E_STRICT] mo.php import_from_reader
-----------------------------+--------------------------
Reporter: zenation | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: General
Version: 3.5 | Severity: minor
Keywords: |
-----------------------------+--------------------------
I'm getting a STRICT error for /wp-includes/pomo/mo.php saying that only
variables should be passed by reference. So my suggestion is to replace
line 210 (function: import_from_reader)
{{{
$this->set_headers($this->make_headers($translation));
}}}
with these two lines
{{{
$translationHeaders = $this->make_headers( $translation );
$this->set_headers( $translationHeaders );
}}}
I'm looking @version $Id: mo.php 718 2012-10-31 00:32:02Z nbachiyski $
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23232>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list