Move deprecated admin functions to wp-admin/includes/deprecated.php. Props nacin. fixes #12024

git-svn-id: https://develop.svn.wordpress.org/trunk@12871 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-01-27 14:10:32 +00:00
parent 1709895c3a
commit 5fd2d9c671
2 changed files with 30 additions and 26 deletions

View File

@ -1,13 +1,41 @@
<?php <?php
/** /**
* Deprecated admin functions from past WordPress versions. You shouldn't use these * Deprecated admin functions from past WordPress versions. You shouldn't use these
* globals and functions and look for the alternatives instead. The functions * functions and look for the alternatives instead. The functions will be removed
* and globals will be removed in a later version. * in a later version.
* *
* @package WordPress * @package WordPress
* @subpackage Deprecated * @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. * 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); 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 * @since 1.2
* @deprecated 2.1 * @deprecated 2.1
@ -1312,18 +1300,6 @@ function create_user($username, $password, $email) {
return wp_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. * Unused function.
* *