Changeset 14800
- Timestamp:
- 05/22/2010 05:09:08 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/file.php
r14649 r14800 586 586 // PHP4-compat - php4 classes can't contain constants 587 587 $zopen = $z->open($file, /* ZIPARCHIVE::CHECKCONS */ 4); 588 if ( true !== $zopen ||/* ZIPARCHIVE::ZIP_ER_OK */ 0 !== $zopen ) // may return true, or (int)0 ZIP_ER_OK under certain versions588 if ( true !== $zopen && /* ZIPARCHIVE::ZIP_ER_OK */ 0 !== $zopen ) // may return true, or (int)0 ZIP_ER_OK under certain versions 589 589 return new WP_Error('incompatible_archive', __('Incompatible Archive.')); 590 590
Note: See TracChangeset
for help on using the changeset viewer.