Make WordPress Core


Ignore:
Timestamp:
11/23/2011 07:06:52 PM (12 years ago)
Author:
nacin
Message:

Move WP_Editor to a _WP_Editors encapsulation.

  • WP_Editor will return in 3.4 as a one true API for editor instances. Stick to wp_editor() for now.
  • TinyMCE can now be forced on with tinymce = true. It defaults to the value for user_can_richedit().
  • Restores wp_default_editor(), wp_link_query(), wp_link_dialog(), wp_fullscreen_html().

fixes #19320.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-ajax.php

    r19418 r19420  
    11281128
    11291129    require(ABSPATH . WPINC . '/class-wp-editor.php');
    1130     $results = WP_Editor::wp_link_query( $args );
     1130    $results = _WP_Editors::wp_link_query( $args );
    11311131
    11321132    if ( ! isset( $results ) )
Note: See TracChangeset for help on using the changeset viewer.