diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index 528d56b61a..8ee0665351 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -241,7 +241,7 @@ if ( ! IS_PROFILE_PAGE ) {

- + diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index a557438e64..74da974722 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -3392,3 +3392,24 @@ function _search_terms_tidy( $t ) { _deprecated_function( __FUNCTION__, '3.7' ); return trim( $t, "\"'\n\r " ); } + +/** + * Determine if TinyMCE is available. + * + * Checks to see if the user has deleted the tinymce files to slim down their WordPress install. + * + * @since 2.1.0 + * @deprecated 3.9.0 + * + * @return bool Whether TinyMCE exists. + */ +function rich_edit_exists() { + global $wp_rich_edit_exists; + _deprecated_function( __FUNCTION__, '3.9' ); + + if ( ! isset( $wp_rich_edit_exists ) ) + $wp_rich_edit_exists = file_exists( ABSPATH . WPINC . '/js/tinymce/tinymce.js' ); + + return $wp_rich_edit_exists; +} + diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 7a83579c97..dedf27b57f 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -1796,22 +1796,6 @@ function wp_no_robots() { echo "\n"; } -/** - * Determine if TinyMCE is available. - * - * Checks to see if the user has deleted the tinymce files to slim down there WordPress install. - * - * @since 2.1.0 - * - * @return bool Whether TinyMCE exists. - */ -function rich_edit_exists() { - global $wp_rich_edit_exists; - if ( !isset($wp_rich_edit_exists) ) - $wp_rich_edit_exists = file_exists(ABSPATH . WPINC . '/js/tinymce/tiny_mce.js'); - return $wp_rich_edit_exists; -} - /** * Whether the user should have a WYSIWIG editor. *