Changes from branches/2.8/wp-includes/pomo/entry.php at r11627 to trunk/wp-includes/pomo/entry.php at r10584
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pomo/entry.php
r11627 r10584 3 3 * Contains Translation_Entry class 4 4 * 5 * @version $Id: entry.php 1 15 2009-05-11 18:56:15Z nbachiyski $5 * @version $Id: entry.php 13 2008-04-21 12:03:37Z nbachiyski $ 6 6 * @package pomo 7 7 * @subpackage entry … … 49 49 $object_varnames = array_keys(get_object_vars($this)); 50 50 foreach ($args as $varname => $value) { 51 $this->$varname = $value; 51 if (in_array($varname, $object_varnames)) { 52 $this->$varname = $value; 53 } 52 54 } 53 55 if (isset($args['plural'])) $this->is_plural = true;
Note: See TracChangeset
for help on using the changeset viewer.