[wp-trac] [WordPress Trac] #16920: PHP5-Port: Take out unnecessary compat functions from diverse files

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 30 01:51:04 UTC 2011


#16920: PHP5-Port: Take out unnecessary compat functions from diverse files
-------------------------+-----------------------
 Reporter:  hakre        |       Owner:
     Type:  defect       |      Status:  reopened
 Priority:  normal       |   Milestone:  3.2
Component:  General      |     Version:  3.1
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |
-------------------------+-----------------------

Comment (by dd32):

 > _unzip_file_ziparchive() - wp-admin/includes/file.php (dd32?)

 Not a compat function

 _unzip_file_ziparchive() & _unzip_file_pclzip() are 2 different methods to
 extract zip files, The first is used when the PHP Zip extension is loaded
 (Which is not always the case) the 2nd is used in all other cases as it
 uses pure-PHP code to do the extraction. They're both "private workers"
 for unzip_file();

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16920#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list