Changeset 47550 for trunk/src/wp-includes/embed.php
- Timestamp:
- 04/05/2020 03:00:44 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/embed.php
r47219 r47550 801 801 */ 802 802 function wp_filter_oembed_iframe_title_attribute( $result, $data, $url ) { 803 if ( false === $result || ! in_array( $data->type, array( 'rich', 'video' ) ) ) {803 if ( false === $result || ! in_array( $data->type, array( 'rich', 'video' ), true ) ) { 804 804 return $result; 805 805 } … … 855 855 */ 856 856 function wp_filter_oembed_result( $result, $data, $url ) { 857 if ( false === $result || ! in_array( $data->type, array( 'rich', 'video' ) ) ) {857 if ( false === $result || ! in_array( $data->type, array( 'rich', 'video' ), true ) ) { 858 858 return $result; 859 859 }
Note: See TracChangeset
for help on using the changeset viewer.