Changeset 47398 for trunk/src/wp-admin/includes/file.php
- Timestamp:
- 03/01/2020 10:38:00 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r47396 r47398 1967 1967 * @param bool $allow_relaxed_file_ownership Optional. Whether to allow Group/World writable. Default false. 1968 1968 * 1969 * @return bool True on success, false on failure. 1969 * @return bool|array True if no filesystem credentials are required, false if they are required but have not been 1970 * provided, array of credentials if they are required and have been provided. 1970 1971 */ 1971 1972 function request_filesystem_credentials( $form_post, $type = '', $error = false, $context = '', $extra_fields = null, $allow_relaxed_file_ownership = false ) { … … 1973 1974 1974 1975 /** 1975 * Filters the filesystem credentials form output.1976 * Filters the filesystem credentials. 1976 1977 * 1977 1978 * Returning anything other than an empty string will effectively short-circuit 1978 1979 * output of the filesystem credentials form, returning that value instead. 1979 1980 * 1981 * A filter should return true if no filesystem credentials are required, false if they are required but have not been 1982 * provided, or an array of credentials if they are required and have been provided. 1983 * 1980 1984 * @since 2.5.0 1981 1985 * @since 4.6.0 The `$context` parameter default changed from `false` to an empty string. 1982 1986 * 1983 * @param mixed $ output Form output to return instead. Default empty.1987 * @param mixed $credentials Credentials to return instead. Default empty string. 1984 1988 * @param string $form_post The URL to post the form to. 1985 1989 * @param string $type Chosen type of filesystem.
Note: See TracChangeset
for help on using the changeset viewer.