WordPress.org

Make WordPress Core

Ticket #29159: 29159.diff

File 29159.diff, 701 bytes (added by noisysocks, 10 months ago)
  • src/wp-includes/general-template.php

     
    34583458        global $wp_rich_edit, $is_gecko, $is_opera, $is_safari, $is_chrome, $is_IE, $is_edge;
    34593459
    34603460        if ( ! isset( $wp_rich_edit ) ) {
    3461                 $wp_rich_edit = false;
     3461                // Default to true since most browsers work with TinyMCE and sometimes
     3462                // the user agent is obscured by proxy servers.
     3463                $wp_rich_edit = true;
    34623464
    34633465                if ( 'true' === get_user_option( 'rich_editing' ) || ! is_user_logged_in() ) { // Default to 'true' for logged out users.
    34643466                        if ( $is_safari ) {