Make WordPress Core


Ignore:
Timestamp:
05/04/2015 01:03:08 AM (10 years ago)
Author:
DrewAPicture
Message:

Clarify accepted types for the $args and $context parameters in WP_Filesystem().

See #32246.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/file.php

    r32322 r32338  
    824824 * @since 2.5.0
    825825 *
    826  * @param array  $args                         Optional. Connection args, These are passed directly to
    827  *                                             the `WP_Filesystem_*()` classes. Default false.
    828  * @param string $context                      Optional. Context for {@see get_filesystem_method()}.
    829  *                                             Default false.
    830  * @param bool   $allow_relaxed_file_ownership Optional. Whether to allow Group/World writable.
    831  *                                             Default false.
     826 * @param array|false  $args                         Optional. Connection args, These are passed directly to
     827 *                                                   the `WP_Filesystem_*()` classes. Default false.
     828 * @param string|false $context                      Optional. Context for get_filesystem_method(). Default false.
     829 * @param bool         $allow_relaxed_file_ownership Optional. Whether to allow Group/World writable. Default false.
    832830 * @return null|boolean false on failure, true on success.
    833831 */
Note: See TracChangeset for help on using the changeset viewer.