Changeset 19420 for trunk/wp-includes/deprecated.php
- Timestamp:
- 11/23/2011 07:06:52 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/deprecated.php
r19016 r19420 2618 2618 2619 2619 /** 2620 * Find out which editor should be displayed2621 *2622 * @see WP_Editor::wp_default_editor()2623 * @since 2.5.02624 * @deprecated 3.52625 *2626 * @return bool2627 */2628 function wp_default_editor() {2629 _deprecated_function( __FUNCTION__, '3.3' );2630 2631 global $wp_editor;2632 if ( !is_a($wp_editor, 'WP_Editor') ) {2633 require_once( ABSPATH . WPINC . '/class-wp-editor.php' );2634 $wp_editor = new WP_Editor;2635 }2636 2637 return $wp_editor->wp_default_editor();2638 }2639 2640 /**2641 2620 * Display editor: TinyMCE, HTML, or both. 2642 2621 *
Note: See TracChangeset
for help on using the changeset viewer.