Changeset 46660 for trunk/src/wp-includes/functions.php
- Timestamp:
- 11/05/2019 09:21:46 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/functions.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r46644 r46660 767 767 * 768 768 * @param string $content Content to extract URLs from. 769 * @return arrayURLs found in passed string.769 * @return string[] Array of URLs found in passed string. 770 770 */ 771 771 function wp_extract_urls( $content ) { … … 2488 2488 * @param string $name Filename. 2489 2489 * @param null|string $deprecated Never used. Set to null. 2490 * @param mixed$bits File content2490 * @param string $bits File content 2491 2491 * @param string $time Optional. Time formatted in 'yyyy/mm'. Default null. 2492 2492 * @return array … … 3004 3004 * @since 4.6.0 3005 3005 * 3006 * @return array Array of file extensions types keyed by the type of file.3006 * @return array[] Multi-dimensional array of file extensions types keyed by the type of file. 3007 3007 */ 3008 3008 function wp_get_ext_types() { … … 3015 3015 * @see wp_ext2type() 3016 3016 * 3017 * @param array $ext2type Multi-dimensional array with extensions for a default set 3018 * of file types. 3017 * @param array[] $ext2type Multi-dimensional array of file extensions types keyed by the type of file. 3019 3018 */ 3020 3019 return apply_filters( … … 4263 4262 * 4264 4263 * @param array|string $list List of ids. 4265 * @return arraySanitized array of IDs.4264 * @return int[] Sanitized array of IDs. 4266 4265 */ 4267 4266 function wp_parse_id_list( $list ) { … … 4277 4276 * 4278 4277 * @param array|string $list List of slugs. 4279 * @return arraySanitized array of slugs.4278 * @return string[] Sanitized array of slugs. 4280 4279 */ 4281 4280 function wp_parse_slug_list( $list ) { … … 5843 5842 * @param string $context Optional. If specified adds filter hook {@see 'extra_$context_headers'}. 5844 5843 * Default empty. 5845 * @return array Array of file headers in `HeaderKey => Header Value` format.5844 * @return string[] Array of file header values keyed by header name. 5846 5845 */ 5847 5846 function get_file_data( $file, $default_headers, $context = '' ) {
Note: See TracChangeset
for help on using the changeset viewer.