WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/06/2008 07:01:32 PM (13 years ago)
Author:
ryan
Message:

Remember last editor chosen. Props mdawaffe. fixes #3978

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r6561 r6567  
    3232
    3333        // Modify this version when tinyMCE plugins are changed
    34         $this->add( 'tiny_mce', '/wp-includes/js/tinymce/tiny_mce_gzip.php', false, '20080103' );
     34        $this->add( 'tiny_mce', '/wp-includes/js/tinymce/tiny_mce_gzip.php', false, '20080105' );
    3535
    3636        $mce_config = apply_filters('tiny_mce_config_url', '/wp-includes/js/tinymce/tiny_mce_config.php');
    37         $this->add( 'wp_tiny_mce', $mce_config, array('tiny_mce'), '20070528' );
     37        $this->add( 'wp_tiny_mce', $mce_config, array('tiny_mce'), '20080105' );
     38        $this->localize( 'wp_tiny_mce', 'wpTinyMCEConfig', array( 'defaultEditor' => wp_default_editor() ) );
    3839
    3940        $this->add( 'prototype', '/wp-includes/js/prototype.js', false, '1.6');
Note: See TracChangeset for help on using the changeset viewer.