From 9cddb0f01267b33f96de97861ffe67c0c6e1056d Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Sat, 11 Apr 2015 21:48:22 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@32113 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index 235990997a..b69b328d13 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -3229,7 +3229,7 @@ function get_media_embedded_in_content( $content, $types = null ) { * @param array $allowed_media_types An array of allowed media types. Default media types are * 'audio', 'video', 'object', 'embed', and 'iframe'. */ - $allowed_media_types = apply_filters( 'get_media_embedded_in_content_allowed', array( 'audio', 'video', 'object', 'embed', 'iframe' ) ); + $allowed_media_types = apply_filters( 'media_embedded_in_content_allowed_types', array( 'audio', 'video', 'object', 'embed', 'iframe' ) ); if ( ! empty( $types ) ) { if ( ! is_array( $types ) ) {