Make WordPress Core


Ignore:
Timestamp:
08/03/2011 10:19:00 AM (15 years ago)
Author:
azaozz
Message:

Editor API enhancement, first run (still needs some work), see #17144

File:
1 edited

Legend:

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

    r18350 r18498  
    1616 * @since 2.1
    1717 * @deprecated 2.1
    18  * @deprecated Use wp_tiny_mce().
    19  * @see wp_tiny_mce()
     18 * @deprecated Use wp_editor().
     19 * @see wp_editor()
    2020 */
    2121function tinymce_include() {
    22         _deprecated_function( __FUNCTION__, '2.1', 'wp_tiny_mce()' );
    23 
    24         wp_tiny_mce();
     22        _deprecated_function( __FUNCTION__, '2.1', 'wp_editor()' );
     23
     24        wp_editor('', 'content');
    2525}
    2626
     
    702702        wp_dashboard_quick_press();
    703703}
     704
     705/**
     706 * @since 2.7
     707 * @deprecated 3.3
     708 * @deprecated Use wp_editor().
     709 * @see wp_editor()
     710 */
     711function wp_tiny_mce() {
     712        _deprecated_function( __FUNCTION__, '3.3', 'wp_editor()' );
     713       
     714        wp_editor('', 'content');
     715}
     716
     717// see WP_Editor for the next 4
     718function wp_preload_dialogs() {
     719        _deprecated_function( __FUNCTION__, '3.3' );
     720}
     721
     722function wp_print_editor_js() {
     723        _deprecated_function( __FUNCTION__, '3.3' );
     724}
     725
     726function wp_quicktags() {
     727        _deprecated_function( __FUNCTION__, '3.3' );
     728}
     729
     730function wp_fullscreen_html() {
     731        _deprecated_function( __FUNCTION__, '3.3' );
     732}
     733
Note: See TracChangeset for help on using the changeset viewer.