Changeset 30753 for trunk/src/wp-admin/includes/file.php
- Timestamp:
- 12/06/2014 09:23:52 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r30648 r30753 98 98 * @since 2.6.0 99 99 * 100 * @param string $folder Full path to folder101 * @param int $levels (optional) Levels of folders to follow, Default:100 (PHP Loop limit).100 * @param string $folder Optional. Full path to folder. Default empty. 101 * @param int $levels Optional. Levels of folders to follow, Default 100 (PHP Loop limit). 102 102 * @return bool|array False on failure, Else array of files 103 103 */ … … 138 138 * @since 2.6.0 139 139 * 140 * @param string $filename (optional) Filename to base the Unique file off141 * @param string $dir (optional) Directory to store the file in140 * @param string $filename Optional. Filename to base the Unique file off. Default empty. 141 * @param string $dir Optional. Directory to store the file in. Default empty. 142 142 * @return string a writable filename 143 143 */ … … 806 806 * This function will include the chosen transport and attempt connecting. 807 807 * 808 * Plugins may add extra transports, And force WordPress to use them by returning the filename via the 'filesystem_method_file' filter. 808 * Plugins may add extra transports, And force WordPress to use them by returning 809 * the filename via the {@see 'filesystem_method_file'} filter. 809 810 * 810 811 * @since 2.5.0 811 812 * 812 * @param array $args (optional) Connection args, These are passed directly to the WP_Filesystem_*() classes. 813 * @param string $context (optional) Context for get_filesystem_method(), See function declaration for more information. 814 * @param bool $allow_relaxed_file_ownership Whether to allow Group/World writable. 815 * @return null|boolean false on failure, true on success 813 * @param array $args Optional. Connection args, These are passed directly to 814 * the `WP_Filesystem_*()` classes. Default false. 815 * @param string $context Optional. Context for {@see get_filesystem_method()}. 816 * Default false. 817 * @param bool $allow_relaxed_file_ownership Optional. Whether to allow Group/World writable. 818 * Default false. 819 * @return null|boolean false on failure, true on success. 816 820 */ 817 821 function WP_Filesystem( $args = false, $context = false, $allow_relaxed_file_ownership = false ) {
Note: See TracChangeset
for help on using the changeset viewer.