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:
ryan 2010-01-27 14:10:32 +00:00
parent ca04c9d349
commit 1b98b9c106
2 changed files with 30 additions and 26 deletions

View File

@ -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.
*

View File

@ -775,18 +775,6 @@ function dropdown_cats($optionall = 1, $all = 'All', $orderby = 'ID', $order = '
return wp_dropdown_categories($query);
}
/**
* @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();
}
/**
* @since 1.2
* @deprecated 2.1
@ -1312,18 +1300,6 @@ function create_user($username, $password, $email) {
return wp_create_user($username, $password, $email);
}
/**
* Unused Admin function.
*
* @since 2.0
* @deprecated 2.5
*
*/
function documentation_link() {
_deprecated_function( __FUNCTION__, '2.5', '' );
return;
}
/**
* Unused function.
*