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:
Drew Jaynes 2015-05-04 01:04:25 +00:00
parent a5cee54aea
commit cdbecf201b
2 changed files with 5 additions and 7 deletions

View File

@ -823,12 +823,10 @@ function copy_dir($from, $to, $skip_list = array() ) {
* *
* @since 2.5.0 * @since 2.5.0
* *
* @param array $args Optional. Connection args, These are passed directly to * @param array|false $args Optional. Connection args, These are passed directly to
* the `WP_Filesystem_*()` classes. Default false. * the `WP_Filesystem_*()` classes. Default false.
* @param string $context Optional. Context for {@see get_filesystem_method()}. * @param string|false $context Optional. Context for get_filesystem_method(). Default false.
* Default false. * @param bool $allow_relaxed_file_ownership Optional. Whether to allow Group/World writable. 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. * @return null|boolean false on failure, true on success.
*/ */
function WP_Filesystem( $args = false, $context = false, $allow_relaxed_file_ownership = false ) { function WP_Filesystem( $args = false, $context = false, $allow_relaxed_file_ownership = false ) {

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.