Deprecate and stub _insert_into_post_button(). fixes #20427

git-svn-id: https://develop.svn.wordpress.org/trunk@21352 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2012-07-26 21:30:06 +00:00
parent 46dd14c4e1
commit aefca97f8f
2 changed files with 10 additions and 25 deletions

View File

@@ -938,4 +938,13 @@ function current_theme_info() {
_deprecated_function( __FUNCTION__, '3.4', 'wp_get_theme()' );
return wp_get_theme();
}
}
/**
* This was once used to display an 'Insert into Post' button. Now it is deprecated and stubbed.
*
* @deprecated 3.5.0
*/
function _insert_into_post_button( $type ) {
_deprecated_function( __FUNCTION__, '3.5' );
}