Make WordPress Core


Ignore:
Timestamp:
01/27/2010 02:10:32 PM (16 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/deprecated.php

    r12824 r12871  
    22/**
    33 * Deprecated admin functions from past WordPress versions. You shouldn't use these
    4  * globals and functions and look for the alternatives instead. The functions
    5  * and globals will be removed in a later version.
     4 * functions and look for the alternatives instead. The functions will be removed
     5 * in a later version.
    66 *
    77 * @package WordPress
    88 * @subpackage Deprecated
    99 */
     10
     11/*
     12 * Deprecated functions come here to die.
     13 */
     14
     15/**
     16 * @since 2.1
     17 * @deprecated 2.1
     18 * @deprecated Use wp_tiny_mce().
     19 * @see wp_tiny_mce()
     20 */
     21function tinymce_include() {
     22    _deprecated_function( __FUNCTION__, '2.1', 'wp_tiny_mce()' );
     23
     24    wp_tiny_mce();
     25}
     26
     27/**
     28 * Unused Admin function.
     29 *
     30 * @since 2.0
     31 * @deprecated 2.5
     32 *
     33 */
     34function documentation_link() {
     35    _deprecated_function( __FUNCTION__, '2.5', '' );
     36    return;
     37}
    1038
    1139/**
Note: See TracChangeset for help on using the changeset viewer.