mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
Clarify accepted types for the $args
and $context
parameters in WP_Filesystem()
.
See #32246. Built from https://develop.svn.wordpress.org/trunk@32338 git-svn-id: http://core.svn.wordpress.org/trunk@32309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a5cee54aea
commit
cdbecf201b
@ -823,12 +823,10 @@ function copy_dir($from, $to, $skip_list = array() ) {
|
||||
*
|
||||
* @since 2.5.0
|
||||
*
|
||||
* @param array $args Optional. Connection args, These are passed directly to
|
||||
* the `WP_Filesystem_*()` classes. Default false.
|
||||
* @param string $context Optional. Context for {@see get_filesystem_method()}.
|
||||
* Default false.
|
||||
* @param bool $allow_relaxed_file_ownership Optional. Whether to allow Group/World writable.
|
||||
* Default false.
|
||||
* @param array|false $args Optional. Connection args, These are passed directly to
|
||||
* the `WP_Filesystem_*()` classes. Default false.
|
||||
* @param string|false $context Optional. Context for get_filesystem_method(). Default false.
|
||||
* @param bool $allow_relaxed_file_ownership Optional. Whether to allow Group/World writable. Default false.
|
||||
* @return null|boolean false on failure, true on success.
|
||||
*/
|
||||
function WP_Filesystem( $args = false, $context = false, $allow_relaxed_file_ownership = false ) {
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-alpha-32337';
|
||||
$wp_version = '4.3-alpha-32338';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user