WordPress.org

Make WordPress Core

Ticket #40479: 40479.patch

File 40479.patch, 623 bytes (added by imath, 3 years ago)
  • src/wp-includes/class-wp-editor.php

    diff --git src/wp-includes/class-wp-editor.php src/wp-includes/class-wp-editor.php
    index 3d88842..82c942f 100644
    final class _WP_Editors { 
    13391339
    13401340                // Load tinymce.js when running from /src, else load wp-tinymce.js.gz (production) or tinymce.min.js (SCRIPT_DEBUG)
    13411341                $mce_suffix = false !== strpos( get_bloginfo( 'version' ), '-src' ) ? '' : '.min';
     1342                $suffix     = SCRIPT_DEBUG ? '' : '.min';
    13421343
    13431344                if ( $compressed ) {
    13441345                        echo "<script type='text/javascript' src='{$baseurl}/wp-tinymce.php?c=1&amp;$version'></script>\n";