Make WordPress Core

Changeset 46679


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.

Location:
trunk/src/wp-admin/includes
Files:
5 edited

Legend:

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

    r45932 r46679  
    556556     * @param int|false $mode      Optional. The permissions as octal number, usually 0644 for files,
    557557     *                             0755 for directories. Default false.
    558      * @param bool      $recursive Optional. If set to true, changes file group recursively.
     558     * @param bool      $recursive Optional. If set to true, changes file permissions recursively.
    559559     *                             Default false.
    560560     * @return bool True on success, false on failure.
     
    631631     *
    632632     * @param string       $file      Path to the file or directory.
    633      * @param bool         $recursive Optional. If set to true, changes file group recursively.
     633     * @param bool         $recursive Optional. If set to true, deletes files and folders recursively.
    634634     *                                Default false.
    635635     * @param string|false $type      Type of resource. 'f' for file, 'd' for directory.
  • trunk/src/wp-admin/includes/class-wp-filesystem-direct.php

    r45613 r46679  
    150150     * @param int|false $mode      Optional. The permissions as octal number, usually 0644 for files,
    151151     *                             0755 for directories. Default false.
    152      * @param bool      $recursive Optional. If set to true, changes file group recursively.
     152     * @param bool      $recursive Optional. If set to true, changes file permissions recursively.
    153153     *                             Default false.
    154154     * @return bool True on success, false on failure.
     
    321321     *
    322322     * @param string       $file      Path to the file or directory.
    323      * @param bool         $recursive Optional. If set to true, changes file group recursively.
     323     * @param bool         $recursive Optional. If set to true, deletes files and folders recursively.
    324324     *                                Default false.
    325325     * @param string|false $type      Type of resource. 'f' for file, 'd' for directory.
  • trunk/src/wp-admin/includes/class-wp-filesystem-ftpext.php

    r45932 r46679  
    251251     * @param int|false $mode      Optional. The permissions as octal number, usually 0644 for files,
    252252     *                             0755 for directories. Default false.
    253      * @param bool      $recursive Optional. If set to true, changes file group recursively.
     253     * @param bool      $recursive Optional. If set to true, changes file permissions recursively.
    254254     *                             Default false.
    255255     * @return bool True on success, false on failure.
     
    365365     *
    366366     * @param string       $file      Path to the file or directory.
    367      * @param bool         $recursive Optional. If set to true, changes file group recursively.
     367     * @param bool         $recursive Optional. If set to true, deletes files and folders recursively.
    368368     *                                Default false.
    369369     * @param string|false $type      Type of resource. 'f' for file, 'd' for directory.
  • 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.
  • trunk/src/wp-admin/includes/class-wp-filesystem-ssh2.php

    r45932 r46679  
    351351     * @param int|false $mode      Optional. The permissions as octal number, usually 0644 for files,
    352352     *                             0755 for directories. Default false.
    353      * @param bool      $recursive Optional. If set to true, changes file group recursively.
     353     * @param bool      $recursive Optional. If set to true, changes file permissions recursively.
    354354     *                             Default false.
    355355     * @return bool True on success, false on failure.
     
    504504     *
    505505     * @param string       $file      Path to the file or directory.
    506      * @param bool         $recursive Optional. If set to true, changes file group recursively.
     506     * @param bool         $recursive Optional. If set to true, deletes files and folders recursively.
    507507     *                                Default false.
    508508     * @param string|false $type      Type of resource. 'f' for file, 'd' for directory.
Note: See TracChangeset for help on using the changeset viewer.