Make WordPress Core

Ticket #12024: 12024.diff

File 12024.diff, 1.9 KB (added by nacin, 15 years ago)
  • wp-admin/includes/deprecated.php

     
    11<?php
    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 */
    1010
     11/*
     12 * Deprecated functions come here to die.
     13 */
     14
    1115/**
     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}
     38
     39/**
    1240 * Calculates the new dimentions for a downsampled image.
    1341 *
    1442 * @since 2.0.0
  • wp-includes/deprecated.php

     
    776776}
    777777
    778778/**
    779  * @since 2.1
    780  * @deprecated 2.1
    781  * @deprecated Use wp_tiny_mce().
    782  * @see wp_tiny_mce()
    783  */
    784 function tinymce_include() {
    785         _deprecated_function( __FUNCTION__, '2.1', 'wp_tiny_mce()' );
    786 
    787         wp_tiny_mce();
    788 }
    789 
    790 /**
    791779 * @since 1.2
    792780 * @deprecated 2.1
    793781 * @deprecated Use wp_list_authors()
     
    13131301}
    13141302
    13151303/**
    1316  * Unused Admin function.
    1317  *
    1318  * @since 2.0
    1319  * @deprecated 2.5
    1320  *
    1321  */
    1322 function documentation_link() {
    1323         _deprecated_function( __FUNCTION__, '2.5', '' );
    1324         return;
    1325 }
    1326 
    1327 /**
    13281304 * Unused function.
    13291305 *
    13301306 * @deprecated 2.5