Make WordPress Core

Changeset 19945


Ignore:
Timestamp:
02/18/2012 06:43:47 AM (13 years ago)
Author:
azaozz
Message:

Load TinyMCE's non-minified "*src.js" plugin files when SCRIPT_DEBUG is defined, part props ericlewis, fixes #20055

Location:
trunk/wp-includes
Files:
9 added
1 edited
6 moved

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-editor.php

    r19913 r19945  
    518518        );
    519519
     520        $suffix = ( defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ) ? '_src' : '';
     521
    520522        do_action('before_wp_tiny_mce', self::$mce_settings);
    521523?>
     
    524526        tinyMCEPreInit = {
    525527            base : "<?php echo self::$baseurl; ?>",
    526             suffix : "",
     528            suffix : "<?php echo $suffix; ?>",
    527529            query : "<?php echo $version; ?>",
    528530            mceInit : <?php echo $mceInit; ?>,
Note: See TracChangeset for help on using the changeset viewer.