]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/pomo/entry.php
Wordpress 2.8.2
[autoinstalls/wordpress.git] / wp-includes / pomo / entry.php
index bb146a7d3e09c2551d909f7ac5ab6012d42321c4..feb5b34cf2fa474883e110c9c76b168b30aad1c0 100644 (file)
@@ -2,7 +2,7 @@
 /**
  * Contains Translation_Entry class
  *
- * @version $Id: entry.php 13 2008-04-21 12:03:37Z nbachiyski $
+ * @version $Id: entry.php 115 2009-05-11 18:56:15Z nbachiyski $
  * @package pomo
  * @subpackage entry
  */
@@ -48,9 +48,7 @@ class Translation_Entry {
                // get member variable values from args hash
                $object_varnames = array_keys(get_object_vars($this));
                foreach ($args as $varname => $value) {
-                       if (in_array($varname, $object_varnames)) {
-                               $this->$varname = $value;
-                       }
+                       $this->$varname = $value;
                }
                if (isset($args['plural'])) $this->is_plural = true;
                if (!is_array($this->translations)) $this->translations = array();