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
This commit is contained in:
Dominik Schilling (ocean90) 2015-04-11 21:48:22 +00:00
parent 9706b074c8
commit 9cddb0f012
1 changed files with 1 additions and 1 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 ) ) {