Avoid 'Only variables should be passed by reference' warning. fixes #23232.

git-svn-id: https://develop.svn.wordpress.org/trunk@23357 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2013-01-31 01:01:19 +00:00
parent 23ef0e4e0b
commit 633d1902b5
1 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ class Translations {
$this->headers[$header] = $value;
}
function set_headers(&$headers) {
function set_headers($headers) {
foreach($headers as $header => $value) {
$this->set_header($header, $value);
}
@ -242,7 +242,7 @@ class NOOP_Translations {
function set_header($header, $value) {
}
function set_headers(&$headers) {
function set_headers($headers) {
}
function get_header($header) {