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.


git-svn-id: https://develop.svn.wordpress.org/trunk@19420 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2011-11-23 19:06:52 +00:00
parent 476f618f40
commit fc9bd67e14
6 changed files with 137 additions and 180 deletions

View File

@@ -1127,7 +1127,7 @@ case 'wp-link-ajax':
$args['pagenum'] = ! empty( $_POST['page'] ) ? absint( $_POST['page'] ) : 1;
require(ABSPATH . WPINC . '/class-wp-editor.php');
$results = WP_Editor::wp_link_query( $args );
$results = _WP_Editors::wp_link_query( $args );
if ( ! isset( $results ) )
die( '0' );