Changeset 55210 for trunk/src/wp-includes/functions.php
- Timestamp:
- 02/03/2023 01:33:18 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r55117 r55210 944 944 $headers = wp_get_http_headers( $url ); 945 945 if ( $headers ) { 946 $len = isset( $headers[' content-length'] ) ? (int) $headers['content-length'] : 0;947 $type = isset( $headers[' content-type'] ) ? $headers['content-type'] : '';946 $len = isset( $headers['Content-Length'] ) ? (int) $headers['Content-Length'] : 0; 947 $type = isset( $headers['Content-Type'] ) ? $headers['Content-Type'] : ''; 948 948 $allowed_types = array( 'video', 'audio' ); 949 949
Note: See TracChangeset
for help on using the changeset viewer.