WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/26/2019 11:14:59 PM (20 months ago)
Author:
johnbillion
Message:

Docs: Update the docs for the error parameter that gets passed around during filesystem credential collection.

See #48303

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-upgrader-skin.php

    r46125 r46597  
    7777     * @see request_filesystem_credentials()
    7878     *
    79      * @param bool   $error                        Optional. Whether the current request has failed to connect.
    80      *                                             Default false.
    81      * @param string $context                      Optional. Full path to the directory that is tested
    82      *                                             for being writable. Default empty.
    83      * @param bool   $allow_relaxed_file_ownership Optional. Whether to allow Group/World writable. Default false.
     79     * @param bool|WP_Error $error                        Optional. Whether the current request has failed to connect,
     80     *                                                    or an error object. Default false.
     81     * @param string        $context                      Optional. Full path to the directory that is tested
     82     *                                                    for being writable. Default empty.
     83     * @param bool          $allow_relaxed_file_ownership Optional. Whether to allow Group/World writable. Default false.
    8484     * @return bool False on failure, true on success.
    8585     */
Note: See TracChangeset for help on using the changeset viewer.