Changeset 13007 for trunk/wp-admin/includes/file.php
- Timestamp:
- 02/07/2010 05:07:36 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/file.php
r13006 r13007 535 535 } 536 536 537 /** 538 * This function should not be called directly, use unzip_file instead. Attempts to unzip an archive using the ZipArchive class. 539 * Assumes that WP_Filesystem() has already been called and set up. 540 * 541 * @since 3.0 542 * @see unzip_file 543 * @access private 544 * 545 * @param string $file Full path and filename of zip archive 546 * @param string $to Full path on the filesystem to extract archive to 547 * @param array $needed_dirs A partial list of required folders needed to be created. 548 * @return mixed WP_Error on failure, True on success 549 */ 537 550 function _unzip_file_ziparchive($file, $to, $needed_dirs = array()) { 538 551 global $wp_filesystem; … … 580 593 } 581 594 595 /** 596 * This function should not be called directly, use unzip_file instead. Attempts to unzip an archive using the PclZip library. 597 * Assumes that WP_Filesystem() has already been called and set up. 598 * 599 * @since 3.0 600 * @see unzip_file 601 * @access private 602 * 603 * @param string $file Full path and filename of zip archive 604 * @param string $to Full path on the filesystem to extract archive to 605 * @param array $needed_dirs A partial list of required folders needed to be created. 606 * @return mixed WP_Error on failure, True on success 607 */ 582 608 function _unzip_file_pclzip($file, $to, $needed_dirs = array()) { 583 609 global $wp_filesystem;
Note: See TracChangeset
for help on using the changeset viewer.