Move deprecated admin functions to wp-admin/includes/deprecated.php. Props nacin. fixes #12024
git-svn-id: http://svn.automattic.com/wordpress/trunk@12871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1,13 +1,41 @@
|
||||
<?php
|
||||
/**
|
||||
* Deprecated admin functions from past WordPress versions. You shouldn't use these
|
||||
* globals and functions and look for the alternatives instead. The functions
|
||||
* and globals will be removed in a later version.
|
||||
* functions and look for the alternatives instead. The functions will be removed
|
||||
* in a later version.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Deprecated
|
||||
*/
|
||||
|
||||
/*
|
||||
* Deprecated functions come here to die.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @since 2.1
|
||||
* @deprecated 2.1
|
||||
* @deprecated Use wp_tiny_mce().
|
||||
* @see wp_tiny_mce()
|
||||
*/
|
||||
function tinymce_include() {
|
||||
_deprecated_function( __FUNCTION__, '2.1', 'wp_tiny_mce()' );
|
||||
|
||||
wp_tiny_mce();
|
||||
}
|
||||
|
||||
/**
|
||||
* Unused Admin function.
|
||||
*
|
||||
* @since 2.0
|
||||
* @deprecated 2.5
|
||||
*
|
||||
*/
|
||||
function documentation_link() {
|
||||
_deprecated_function( __FUNCTION__, '2.5', '' );
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Calculates the new dimentions for a downsampled image.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user