Changeset 49194 for trunk/src/wp-admin/includes/class-pclzip.php
- Timestamp:
- 10/18/2020 05:31:37 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-pclzip.php
r47123 r49194 1172 1172 1173 1173 // ----- Look if the $p_archive is a PclZip object 1174 if ( (is_object($p_archive)) && (get_class($p_archive) == 'pclzip'))1174 if (is_object($p_archive) && $p_archive instanceof pclzip) 1175 1175 { 1176 1176 … … 1236 1236 1237 1237 // ----- Look if the $p_archive_to_add is a PclZip object 1238 if ( (is_object($p_archive_to_add)) && (get_class($p_archive_to_add) == 'pclzip'))1238 if (is_object($p_archive_to_add) && $p_archive_to_add instanceof pclzip) 1239 1239 { 1240 1240
Note: See TracChangeset
for help on using the changeset viewer.