Changeset 49927 for trunk/src/wp-includes/functions.php
- Timestamp:
- 01/03/2021 10:02:13 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r49926 r49927 939 939 * @param string $url URL to retrieve HTTP headers from. 940 940 * @param bool $deprecated Not Used. 941 * @return bool|string False on failure, headers on success.941 * @return false|string False on failure, headers on success. 942 942 */ 943 943 function wp_get_http_headers( $url, $deprecated = false ) { … … 3015 3015 * @since 5.1.0 The $real_mime parameter was added. 3016 3016 * 3017 * @param array $wp_check_filetype_and_ext {3017 * @param array $wp_check_filetype_and_ext { 3018 3018 * Values for the extension, mime type, and corrected filename. 3019 3019 * … … 3022 3022 * @type string|false $proper_filename File name with its correct extension, or false if it cannot be determined. 3023 3023 * } 3024 * @param string $file Full path to the file.3025 * @param string $filename The name of the file (may differ from $file due to3026 * $file being in a tmp directory).3027 * @param string[] $mimes Array of mime types keyed by their file extension regex.3028 * @param string| bool$real_mime The actual mime type or false if the type cannot be determined.3024 * @param string $file Full path to the file. 3025 * @param string $filename The name of the file (may differ from $file due to 3026 * $file being in a tmp directory). 3027 * @param string[] $mimes Array of mime types keyed by their file extension regex. 3028 * @param string|false $real_mime The actual mime type or false if the type cannot be determined. 3029 3029 */ 3030 3030 return apply_filters( 'wp_check_filetype_and_ext', compact( 'ext', 'type', 'proper_filename' ), $file, $filename, $mimes, $real_mime ); … … 6915 6915 * the similarly arbitrary {@see '$context_memory_limit'} filter will be 6916 6916 * invoked. Default 'admin'. 6917 * @return bool|int|string The limit that was set or false on failure.6917 * @return false|int|string The limit that was set or false on failure. 6918 6918 */ 6919 6919 function wp_raise_memory_limit( $context = 'admin' ) {
Note: See TracChangeset
for help on using the changeset viewer.