Changeset 14377
- Timestamp:
- 05/03/2010 06:44:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/file.php
r14349 r14377 578 578 // PHP4-compat - php4 classes can't contain constants 579 579 $zopen = $z->open($file, /* ZIPARCHIVE::CHECKCONS */ 4); 580 if ( true !== $zopen || ZIP_ER_OK!== $zopen ) // may return true, or (int)0 ZIP_ER_OK under certain versions580 if ( true !== $zopen || /* ZIPARCHIVE::ZIP_ER_OK */ 0 !== $zopen ) // may return true, or (int)0 ZIP_ER_OK under certain versions 581 581 return new WP_Error('incompatible_archive', __('Incompatible Archive.')); 582 582
Note: See TracChangeset
for help on using the changeset viewer.