Changeset 18632 for trunk/wp-admin/includes/file.php
- Timestamp:
- 09/03/2011 02:18:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/file.php
r18517 r18632 364 364 365 365 /** 366 * Handle sideloads, which is the process of retri ving a media item from another server instead of366 * Handle sideloads, which is the process of retrieving a media item from another server instead of 367 367 * a traditional media upload. This process involves sanitizing the filename, checking extensions 368 368 * for mime type, and moving the file to the appropriate directory within the uploads directory. … … 520 520 521 521 /** 522 * Unzip 's a specified ZIP file to a location on the Filesystem via the WordPress Filesystem Abstraction.522 * Unzips a specified ZIP file to a location on the Filesystem via the WordPress Filesystem Abstraction. 523 523 * Assumes that WP_Filesystem() has already been called and set up. Does not extract a root-level __MACOSX directory, if present. 524 524 * … … 834 834 835 835 if ( !$wp_filesystem->connect() ) 836 return false; //There was an er orr connecting to the server.836 return false; //There was an error connecting to the server. 837 837 838 838 // Set the permission constants if not already set. … … 847 847 /** 848 848 * Determines which Filesystem Method to use. 849 * The priority of the Transports are: Direct, SSH2, FTP PHP Extension, FTP Sockets (Via Sockets class, or fso xkopen())849 * The priority of the Transports are: Direct, SSH2, FTP PHP Extension, FTP Sockets (Via Sockets class, or fsockopen()) 850 850 * 851 851 * Note that the return value of this function can be overridden in 2 ways
Note: See TracChangeset
for help on using the changeset viewer.