Changeset 15052
- Timestamp:
- 05/29/2010 01:16:35 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/file.php
r14924 r15052 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 ) 589 589 return new WP_Error('incompatible_archive', __('Incompatible Archive.')); 590 590
Note: See TracChangeset
for help on using the changeset viewer.