WordPress.org

Make WordPress Core

Changeset 32113


Ignore:
Timestamp:
04/11/2015 09:48:22 PM (5 years ago)
Author:
ocean90
Message:

Rename get_media_embedded_in_content_allowed filter to media_embedded_in_content_allowed_types.

The new name fits better with some other _allowed_ filters.

props DrewAPicture.
fixes #26675.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r32043 r32113  
    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 ) ) {
Note: See TracChangeset for help on using the changeset viewer.