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-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.
Note: See TracChangeset for help on using the changeset viewer.