WordPress.org

Make WordPress Core

Ticket #26675: 26675.diff

File 26675.diff, 751 bytes (added by DrewAPicture, 5 years ago)

Renamed to media_embedded_in_content_allowed_types

  • src/wp-includes/media.php

     
    32293229         * @param array $allowed_media_types An array of allowed media types. Default media types are
    32303230         *                                   'audio', 'video', 'object', 'embed', and 'iframe'.
    32313231         */
    3232         $allowed_media_types = apply_filters( 'get_media_embedded_in_content_allowed', array( 'audio', 'video', 'object', 'embed', 'iframe' ) );
     3232        $allowed_media_types = apply_filters( 'media_embedded_in_content_allowed_types', array( 'audio', 'video', 'object', 'embed', 'iframe' ) );
    32333233
    32343234        if ( ! empty( $types ) ) {
    32353235                if ( ! is_array( $types ) ) {