mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-24 15:24:36 +00:00
Update TinyMCE to 3.2.0 and remove compression, fixes #7827
git-svn-id: https://develop.svn.wordpress.org/trunk@9064 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -33,6 +33,21 @@ addLoadEvent = function(func) {if (typeof jQuery != "undefined") jQuery(document
|
||||
</script>
|
||||
<?php
|
||||
|
||||
switch ( $pagenow ) {
|
||||
case 'post.php':
|
||||
add_action( 'admin_head-post.php', 'wp_tiny_mce' );
|
||||
break;
|
||||
case 'post-new.php':
|
||||
add_action( 'admin_head-post-new.php', 'wp_tiny_mce' );
|
||||
break;
|
||||
case 'page.php':
|
||||
add_action( 'admin_head-page.php', 'wp_tiny_mce' );
|
||||
break;
|
||||
case 'page-new.php':
|
||||
add_action( 'admin_head-page-new.php', 'wp_tiny_mce' );
|
||||
break;
|
||||
}
|
||||
|
||||
$hook_suffixes = array();
|
||||
|
||||
if ( isset($page_hook) )
|
||||
|
||||
Reference in New Issue
Block a user