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-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.