Changeset 47398
- Timestamp:
- 03/01/2020 10:38:00 AM (5 years ago)
- Location:
- trunk/src
- Files:
-
- 4 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. -
trunk/src/wp-admin/includes/post.php
r47397 r47398 1968 1968 /** 1969 1969 * Redirect to previous page. 1970 * 1971 * @since 2.7.0 1970 1972 * 1971 1973 * @param int $post_id Optional. Post ID. -
trunk/src/wp-includes/functions.php
r47397 r47398 2641 2641 * Filters whether to treat the upload bits as an error. 2642 2642 * 2643 * Passing a non-array to the filter will effectively short-circuit preparing2644 * the upload bits, returning that value instead.2643 * Returning a non-array from the filter will effectively short-circuit preparing the upload 2644 * bits, returning that value instead. An error message should be returned as a string. 2645 2645 * 2646 2646 * @since 3.0.0 -
trunk/src/wp-includes/pluggable.php
r47397 r47398 856 856 } 857 857 858 // Front-end cookie is secure when the auth cookie is secure and the site's home URL is forcedHTTPS.858 // Front-end cookie is secure when the auth cookie is secure and the site's home URL uses HTTPS. 859 859 $secure_logged_in_cookie = $secure && 'https' === parse_url( get_option( 'home' ), PHP_URL_SCHEME ); 860 860 861 861 /** 862 * Filters whether the connection is secure.862 * Filters whether the auth cookie should only be sent over HTTPS. 863 863 * 864 864 * @since 3.1.0 865 865 * 866 * @param bool $secure Whether the co nnection is secure.866 * @param bool $secure Whether the cookie should only be sent over HTTPS. 867 867 * @param int $user_id User ID. 868 868 */ … … 870 870 871 871 /** 872 * Filters whether t o use a secure cookie when logged-in.872 * Filters whether the logged in cookie should only be sent over HTTPS. 873 873 * 874 874 * @since 3.1.0 875 875 * 876 * @param bool $secure_logged_in_cookie Whether t o use a secure cookie when logged-in.876 * @param bool $secure_logged_in_cookie Whether the logged in cookie should only be sent over HTTPS. 877 877 * @param int $user_id User ID. 878 * @param bool $secure Whether the connection is secure.878 * @param bool $secure Whether the auth cookie should only be sent over HTTPS. 879 879 */ 880 880 $secure_logged_in_cookie = apply_filters( 'secure_logged_in_cookie', $secure_logged_in_cookie, $user_id, $secure );
Note: See TracChangeset
for help on using the changeset viewer.