Changeset 12079 for trunk/wp-includes/pomo/po.php
- Timestamp:
- 10/21/2009 07:06:55 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/pomo/po.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pomo/po.php
r11626 r12079 3 3 * Class for working with PO files 4 4 * 5 * @version $Id: po.php 123 2009-05-13 19:35:43Z nbachiyski $5 * @version $Id: po.php 283 2009-09-23 16:21:51Z nbachiyski $ 6 6 * @package pomo 7 7 * @subpackage po … … 17 17 * Routines for working with PO files 18 18 */ 19 if ( !class_exists( 'PO' ) ): 19 20 class PO extends Gettext_Translations { 20 21 … … 317 318 } 318 319 } 319 if (array() == array_filter($entry->translations)) $entry->translations = array(); 320 if (array() == array_filter($entry->translations, create_function('$t', 'return $t || "0" === $t;'))) { 321 $entry->translations = array(); 322 } 320 323 return array('entry' => $entry, 'lineno' => $lineno); 321 324 } … … 358 361 } 359 362 } 360 ?> 363 endif;
Note: See TracChangeset
for help on using the changeset viewer.