Changeset 53862
- Timestamp:
- 08/08/2022 05:12:59 PM (2 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-filesystem-ftpext.php
r53860 r53862 413 413 * 414 414 * @since 2.5.0 415 * @since 6.1.0 Rewrite using ftp_rawlist, uses 'LIST' on FTP server416 * takes file path or directory path as parameter.415 * @since 6.1.0 Uses WP_Filesystem_FTPext::is_dir() to check for directory existence 416 * and ftp_rawlist() to check for file existence. 417 417 * 418 418 * @param string $file Path to file or directory. … … 511 511 * 512 512 * @since 2.5.0 513 * @since 6.1.0 Update for proper return values. 513 * @since 6.1.0 Corrected the return value: while WP_Filesystem_Base::size() 514 * is documented to return false on failure, ftp_size() returns -1. 514 515 * 515 516 * @param string $file Path to file. -
trunk/src/wp-admin/includes/class-wp-filesystem-ftpsockets.php
r53860 r53862 415 415 * 416 416 * @since 2.5.0 417 * @since 6.1.0 Rewrite using file size. 417 * @since 6.1.0 Uses WP_Filesystem_ftpsockets::is_dir() to check for directory existence 418 * and file size to check for file existence. 418 419 * 419 420 * @param string $file Path to file or directory.
Note: See TracChangeset
for help on using the changeset viewer.