Make WordPress Core


Ignore:
Timestamp:
11/08/2019 10:54:33 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct description for $recursive parameter of ::chmod() and ::delete() methods in WP_Filesystem implementations.

Props skithund.
Fixes #48422.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-filesystem-ftpsockets.php

    r45932 r46679  
    261261     * @param int|false $mode      Optional. The permissions as octal number, usually 0644 for files,
    262262     *                             0755 for directories. Default false.
    263      * @param bool      $recursive Optional. If set to true, changes file group recursively.
     263     * @param bool      $recursive Optional. If set to true, changes file permissions recursively.
    264264     *                             Default false.
    265265     * @return bool True on success, false on failure.
     
    374374     *
    375375     * @param string       $file      Path to the file or directory.
    376      * @param bool         $recursive Optional. If set to true, changes file group recursively.
     376     * @param bool         $recursive Optional. If set to true, deletes files and folders recursively.
    377377     *                                Default false.
    378378     * @param string|false $type      Type of resource. 'f' for file, 'd' for directory.
Note: See TracChangeset for help on using the changeset viewer.