diff --git a/wp-admin/includes/deprecated.php b/wp-admin/includes/deprecated.php index 9c33604e8d..7a53671a8e 100644 --- a/wp-admin/includes/deprecated.php +++ b/wp-admin/includes/deprecated.php @@ -948,3 +948,12 @@ function current_theme_info() { function _insert_into_post_button( $type ) { _deprecated_function( __FUNCTION__, '3.5' ); } + +/** + * This was once used to display a media button. Now it is deprecated and stubbed. + * + * @deprecated 3.5.0 + */ +function _media_button($title, $icon, $type, $id) { + _deprecated_function( __FUNCTION__, '3.5' ); +} diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index 9e202bd487..51a8876b00 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -386,10 +386,6 @@ function media_buttons($editor_id = 'content') { } add_action( 'media_buttons', 'media_buttons' ); -function _media_button($title, $icon, $type, $id) { - return "$title"; -} - function get_upload_iframe_src( $type = null, $post_id = null, $tab = null ) { global $post_ID;