Docs: Correct description for `$recursive` parameter of `::chmod()` and `::delete()` methods in `WP_Filesystem` implementations.
Props skithund. Fixes #48422. Built from https://develop.svn.wordpress.org/trunk@46679 git-svn-id: http://core.svn.wordpress.org/trunk@46479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
84a1922e18
commit
15a4289c8d
|
@ -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.
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.4-alpha-46678';
|
||||
$wp_version = '5.4-alpha-46679';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue