Make WordPress Core


Ignore:
Timestamp:
04/11/2014 10:16:01 PM (11 years ago)
Author:
azaozz
Message:

Don't include the non-minified tinymce.js in /build. Load it when running from /src, else load wp-tinymce.js.gz (production) or tinymce.min.js (SCRIPT_DEBUG). Props nacin, fixes #27739

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/tinymce/wp-tinymce.php

    r23120 r28081  
    3333    echo $file;
    3434} else {
    35     echo get_file($basepath . '/tiny_mce.js');
    36     echo get_file($basepath . '/wp-tinymce-schema.js');
     35    // Back compat. This file shouldn't be used if this condition can occur (as in, if gzip isn't accepted).
     36    echo get_file( $basepath . '/tinymce.min.js' );
     37    echo get_file( $basepath . '/plugins/compat3x/plugin.min.js' );
    3738}
    3839exit;
Note: See TracChangeset for help on using the changeset viewer.