Docs: Correct description for $recursive
parameter of ::chmod()
and ::delete()
methods in WP_Filesystem
implementations.
Props skithund. Fixes #48422. git-svn-id: https://develop.svn.wordpress.org/trunk@46679 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a216b6d838
commit
4a73b562a3
@ -555,7 +555,7 @@ class WP_Filesystem_Base {
|
||||
* @param string $file Path to the file.
|
||||
* @param int|false $mode Optional. The permissions as octal number, usually 0644 for files,
|
||||
* 0755 for directories. Default false.
|
||||
* @param bool $recursive Optional. If set to true, changes file group recursively.
|
||||
* @param bool $recursive Optional. If set to true, changes file permissions recursively.
|
||||
* Default false.
|
||||
* @return bool True on success, false on failure.
|
||||
*/
|
||||
@ -630,7 +630,7 @@ class WP_Filesystem_Base {
|
||||
* @abstract
|
||||
*
|
||||
* @param string $file Path to the file or directory.
|
||||
* @param bool $recursive Optional. If set to true, changes file group recursively.
|
||||
* @param bool $recursive Optional. If set to true, deletes files and folders recursively.
|
||||
* Default false.
|
||||
* @param string|false $type Type of resource. 'f' for file, 'd' for directory.
|
||||
* Default false.
|
||||
|
@ -149,7 +149,7 @@ class WP_Filesystem_Direct extends WP_Filesystem_Base {
|
||||
* @param string $file Path to the file.
|
||||
* @param int|false $mode Optional. The permissions as octal number, usually 0644 for files,
|
||||
* 0755 for directories. Default false.
|
||||
* @param bool $recursive Optional. If set to true, changes file group recursively.
|
||||
* @param bool $recursive Optional. If set to true, changes file permissions recursively.
|
||||
* Default false.
|
||||
* @return bool True on success, false on failure.
|
||||
*/
|
||||
@ -320,7 +320,7 @@ class WP_Filesystem_Direct extends WP_Filesystem_Base {
|
||||
* @since 2.5.0
|
||||
*
|
||||
* @param string $file Path to the file or directory.
|
||||
* @param bool $recursive Optional. If set to true, changes file group recursively.
|
||||
* @param bool $recursive Optional. If set to true, deletes files and folders recursively.
|
||||
* Default false.
|
||||
* @param string|false $type Type of resource. 'f' for file, 'd' for directory.
|
||||
* Default false.
|
||||
|
@ -250,7 +250,7 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base {
|
||||
* @param string $file Path to the file.
|
||||
* @param int|false $mode Optional. The permissions as octal number, usually 0644 for files,
|
||||
* 0755 for directories. Default false.
|
||||
* @param bool $recursive Optional. If set to true, changes file group recursively.
|
||||
* @param bool $recursive Optional. If set to true, changes file permissions recursively.
|
||||
* Default false.
|
||||
* @return bool True on success, false on failure.
|
||||
*/
|
||||
@ -364,7 +364,7 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base {
|
||||
* @since 2.5.0
|
||||
*
|
||||
* @param string $file Path to the file or directory.
|
||||
* @param bool $recursive Optional. If set to true, changes file group recursively.
|
||||
* @param bool $recursive Optional. If set to true, deletes files and folders recursively.
|
||||
* Default false.
|
||||
* @param string|false $type Type of resource. 'f' for file, 'd' for directory.
|
||||
* Default false.
|
||||
|
@ -260,7 +260,7 @@ class WP_Filesystem_ftpsockets extends WP_Filesystem_Base {
|
||||
* @param string $file Path to the file.
|
||||
* @param int|false $mode Optional. The permissions as octal number, usually 0644 for files,
|
||||
* 0755 for directories. Default false.
|
||||
* @param bool $recursive Optional. If set to true, changes file group recursively.
|
||||
* @param bool $recursive Optional. If set to true, changes file permissions recursively.
|
||||
* Default false.
|
||||
* @return bool True on success, false on failure.
|
||||
*/
|
||||
@ -373,7 +373,7 @@ class WP_Filesystem_ftpsockets extends WP_Filesystem_Base {
|
||||
* @since 2.5.0
|
||||
*
|
||||
* @param string $file Path to the file or directory.
|
||||
* @param bool $recursive Optional. If set to true, changes file group recursively.
|
||||
* @param bool $recursive Optional. If set to true, deletes files and folders recursively.
|
||||
* Default false.
|
||||
* @param string|false $type Type of resource. 'f' for file, 'd' for directory.
|
||||
* Default false.
|
||||
|
@ -350,7 +350,7 @@ class WP_Filesystem_SSH2 extends WP_Filesystem_Base {
|
||||
* @param string $file Path to the file.
|
||||
* @param int|false $mode Optional. The permissions as octal number, usually 0644 for files,
|
||||
* 0755 for directories. Default false.
|
||||
* @param bool $recursive Optional. If set to true, changes file group recursively.
|
||||
* @param bool $recursive Optional. If set to true, changes file permissions recursively.
|
||||
* Default false.
|
||||
* @return bool True on success, false on failure.
|
||||
*/
|
||||
@ -503,7 +503,7 @@ class WP_Filesystem_SSH2 extends WP_Filesystem_Base {
|
||||
* @since 2.7.0
|
||||
*
|
||||
* @param string $file Path to the file or directory.
|
||||
* @param bool $recursive Optional. If set to true, changes file group recursively.
|
||||
* @param bool $recursive Optional. If set to true, deletes files and folders recursively.
|
||||
* Default false.
|
||||
* @param string|false $type Type of resource. 'f' for file, 'd' for directory.
|
||||
* Default false.
|
||||
|
Loading…
Reference in New Issue
Block a user