Make WordPress Core

Changeset 13007


Ignore:
Timestamp:
02/07/2010 05:07:36 AM (14 years ago)
Author:
dd32
Message:

PHPdoc for _unzip_file_pclzip & _unzip_file_ziparchive. See #10403

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/file.php

    r13006 r13007  
    535535}
    536536
     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 */
    537550function _unzip_file_ziparchive($file, $to, $needed_dirs = array()) {
    538551    global $wp_filesystem;
     
    580593}
    581594
     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 */
    582608function _unzip_file_pclzip($file, $to, $needed_dirs = array()) {
    583609    global $wp_filesystem;
Note: See TracChangeset for help on using the changeset viewer.