Use correct function name.

props ericlewis.
fixes #28329.
Built from https://develop.svn.wordpress.org/trunk@28535


git-svn-id: http://core.svn.wordpress.org/trunk@28361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2014-05-22 07:59:16 +00:00
parent 62f9e7636d
commit 45d5e5d32f
1 changed files with 8 additions and 8 deletions

View File

@ -852,42 +852,42 @@ function favorite_actions() {
}
function media_upload_image() {
__deprecated_function( __FUNCTION__, '3.3', 'wp_media_upload_handler()' );
_deprecated_function( __FUNCTION__, '3.3', 'wp_media_upload_handler()' );
return wp_media_upload_handler();
}
function media_upload_audio() {
__deprecated_function( __FUNCTION__, '3.3', 'wp_media_upload_handler()' );
_deprecated_function( __FUNCTION__, '3.3', 'wp_media_upload_handler()' );
return wp_media_upload_handler();
}
function media_upload_video() {
__deprecated_function( __FUNCTION__, '3.3', 'wp_media_upload_handler()' );
_deprecated_function( __FUNCTION__, '3.3', 'wp_media_upload_handler()' );
return wp_media_upload_handler();
}
function media_upload_file() {
__deprecated_function( __FUNCTION__, '3.3', 'wp_media_upload_handler()' );
_deprecated_function( __FUNCTION__, '3.3', 'wp_media_upload_handler()' );
return wp_media_upload_handler();
}
function type_url_form_image() {
__deprecated_function( __FUNCTION__, '3.3', "wp_media_insert_url_form('image')" );
_deprecated_function( __FUNCTION__, '3.3', "wp_media_insert_url_form('image')" );
return wp_media_insert_url_form( 'image' );
}
function type_url_form_audio() {
__deprecated_function( __FUNCTION__, '3.3', "wp_media_insert_url_form('audio')" );
_deprecated_function( __FUNCTION__, '3.3', "wp_media_insert_url_form('audio')" );
return wp_media_insert_url_form( 'audio' );
}
function type_url_form_video() {
__deprecated_function( __FUNCTION__, '3.3', "wp_media_insert_url_form('video')" );
_deprecated_function( __FUNCTION__, '3.3', "wp_media_insert_url_form('video')" );
return wp_media_insert_url_form( 'video' );
}
function type_url_form_file() {
__deprecated_function( __FUNCTION__, '3.3', "wp_media_insert_url_form('file')" );
_deprecated_function( __FUNCTION__, '3.3', "wp_media_insert_url_form('file')" );
return wp_media_insert_url_form( 'file' );
}