Ticket #12024: 12024.diff
File 12024.diff, 1.9 KB (added by , 15 years ago) |
---|
-
wp-admin/includes/deprecated.php
1 1 <?php 2 2 /** 3 3 * Deprecated admin functions from past WordPress versions. You shouldn't use these 4 * globals and functions and look for the alternatives instead. The functions5 * and globals will be removedin a later version.4 * functions and look for the alternatives instead. The functions will be removed 5 * in a later version. 6 6 * 7 7 * @package WordPress 8 8 * @subpackage Deprecated 9 9 */ 10 10 11 /* 12 * Deprecated functions come here to die. 13 */ 14 11 15 /** 16 * @since 2.1 17 * @deprecated 2.1 18 * @deprecated Use wp_tiny_mce(). 19 * @see wp_tiny_mce() 20 */ 21 function 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 */ 34 function documentation_link() { 35 _deprecated_function( __FUNCTION__, '2.5', '' ); 36 return; 37 } 38 39 /** 12 40 * Calculates the new dimentions for a downsampled image. 13 41 * 14 42 * @since 2.0.0 -
wp-includes/deprecated.php
776 776 } 777 777 778 778 /** 779 * @since 2.1780 * @deprecated 2.1781 * @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 /**791 779 * @since 1.2 792 780 * @deprecated 2.1 793 781 * @deprecated Use wp_list_authors() … … 1313 1301 } 1314 1302 1315 1303 /** 1316 * Unused Admin function.1317 *1318 * @since 2.01319 * @deprecated 2.51320 *1321 */1322 function documentation_link() {1323 _deprecated_function( __FUNCTION__, '2.5', '' );1324 return;1325 }1326 1327 /**1328 1304 * Unused function. 1329 1305 * 1330 1306 * @deprecated 2.5