mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 18:24:31 +00:00
TinyMCE 3.01. Props azaozz. fixes #5944
git-svn-id: https://develop.svn.wordpress.org/trunk@6959 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -33,10 +33,10 @@ class WP_Scripts {
|
||||
$visual_editor = apply_filters('visual_editor', array('tiny_mce'));
|
||||
$this->add( 'editor', false, $visual_editor, '20080218' );
|
||||
|
||||
$this->add( 'editor_functions', '/wp-admin/js/editor.js', false, '20080208' );
|
||||
$this->add( 'editor_functions', '/wp-admin/js/editor.js', false, '20080221' );
|
||||
|
||||
// Modify this version when tinyMCE plugins are changed.
|
||||
$mce_version = apply_filters('tiny_mce_version', '20080209');
|
||||
$mce_version = apply_filters('tiny_mce_version', '20080221');
|
||||
$this->add( 'tiny_mce', '/wp-includes/js/tinymce/tiny_mce_config.php', array('editor_functions'), $mce_version );
|
||||
$this->localize( 'tiny_mce', 'wpTinyMCEConfig', array( 'defaultEditor' => wp_default_editor() ) );
|
||||
|
||||
@@ -187,7 +187,7 @@ class WP_Scripts {
|
||||
'edit' => __('Edit'),
|
||||
'cancel' => __('Cancel'),
|
||||
));
|
||||
$this->add( 'editor', '/wp-admin/js/editor.js', array('tiny_mce'), '20080208' );
|
||||
$this->add( 'editor', '/wp-admin/js/editor.js', array('tiny_mce'), '20080221' );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user