Make WordPress Core


Ignore:
Timestamp:
11/08/2019 10:54:33 PM (7 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-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.
Note: See TracChangeset for help on using the changeset viewer.