X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/6c8f14c09105d0afa4c1574215c59b5021040e76..refs/tags/wordpress-4.0:/wp-includes/pomo/translations.php?ds=sidebyside diff --git a/wp-includes/pomo/translations.php b/wp-includes/pomo/translations.php index 856e38aa..5ad316c0 100644 --- a/wp-includes/pomo/translations.php +++ b/wp-includes/pomo/translations.php @@ -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); } @@ -172,7 +172,7 @@ class Gettext_Translations extends Translations { } /** - * Adds parantheses to the inner parts of ternary operators in + * Adds parentheses to the inner parts of ternary operators in * plural expressions, because PHP evaluates ternary oerators from left to right * * @param string $expression the expression without parentheses @@ -242,7 +242,7 @@ class NOOP_Translations { function set_header($header, $value) { } - function set_headers(&$headers) { + function set_headers($headers) { } function get_header($header) {