mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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' );
|
||||
|
||||
Reference in New Issue
Block a user