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
This commit is contained in:
Dominik Schilling 2015-04-11 21:49:27 +00:00
parent 9df7b6ecf6
commit 5294e0e655
2 changed files with 2 additions and 2 deletions

View File

@ -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 ) ) {

View File

@ -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.