Make WordPress Core

Changeset 19533


Ignore:
Timestamp:
12/01/2011 09:27:19 PM (13 years ago)
Author:
azaozz
Message:

Make sure editor-buttons.css is loaded even if tiny_mce.js is used directly and the wp_theme skin is selected in the settings, see #17144

Location:
trunk/wp-includes
Files:
2 edited

Legend:

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

    r19432 r19533  
    536536
    537537            if ( typeof(tinymce) == 'object' ) {
     538                // mark wp_theme/ui.css as loaded
     539                tinymce.DOM.files[tinymce.baseURI.getURI() + '/themes/advanced/skins/wp_theme/ui.css'] = true;
     540
    538541                for ( ed in tinyMCEPreInit.mceInit ) {
    539542                    if ( first_init ) {
  • trunk/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/ui.css

    r18660 r19533  
    1 /* not used but cannot prevent TinyMCE loading it (for now) */
     1/* not used, included for back-compat, see wp-includes/css/editor-buttons.css */
     2@import url("../../../../../../css/editor-buttons.css?ver=20111114");
Note: See TracChangeset for help on using the changeset viewer.