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-automatic-upgrader-skin.php

    r46125 r46597  
    3131     * @see request_filesystem_credentials()
    3232     *
    33      * @param bool   $error                        Optional. Whether the current request has failed to connect.
    34      *                                             Default false.
    35      * @param string $context                      Optional. Full path to the directory that is tested
    36      *                                             for being writable. Default empty.
    37      * @param bool   $allow_relaxed_file_ownership Optional. Whether to allow Group/World writable. Default false.
     33     * @param bool|WP_Error $error                        Optional. Whether the current request has failed to connect,
     34     *                                                    or an error object. Default false.
     35     * @param string        $context                      Optional. Full path to the directory that is tested
     36     *                                                    for being writable. Default empty.
     37     * @param bool          $allow_relaxed_file_ownership Optional. Whether to allow Group/World writable. Default false.
    3838     * @return bool True on success, false on failure.
    3939     */
Note: See TracChangeset for help on using the changeset viewer.