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:
parent
1709895c3a
commit
5fd2d9c671
@ -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.
|
||||
*
|
||||
|
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user