WordPress.org

Make WordPress Core

Ticket #26786: rich_edit_exists.diff

File rich_edit_exists.diff, 539 bytes (added by codix, 6 years ago)
  • wp-includes/general-template.php

     
    18081808function rich_edit_exists() {
    18091809        global $wp_rich_edit_exists;
    18101810        if ( !isset($wp_rich_edit_exists) )
    1811                 $wp_rich_edit_exists = file_exists(ABSPATH . WPINC . '/js/tinymce/tiny_mce.js');
     1811                $wp_rich_edit_exists = file_exists(ABSPATH . WPINC . '/js/tinymce/tinymce.js');
    18121812        return $wp_rich_edit_exists;
    18131813}
    18141814