From 5294e0e655a2aa44b402014121771dc73d446392 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Sat, 11 Apr 2015 21:49:27 +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. Built from https://develop.svn.wordpress.org/trunk@32113 git-svn-id: http://core.svn.wordpress.org/trunk@32092 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/media.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index 235990997a..b69b328d13 100644 --- a/wp-includes/media.php +++ b/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 ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 7f3d5e480b..117620b17f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-beta4-32112'; +$wp_version = '4.2-beta4-32113'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.