]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/pomo/translations.php
WordPress 4.0-scripts
[autoinstalls/wordpress.git] / wp-includes / pomo / translations.php
index 856e38aa10f72f78bc94555ad07b22c61b40b67d..5ad316c08e34254bc43fd35ff873cb2820d6258e 100644 (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);
                }
@@ -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) {