Move buttons from row 4 to row 3 in the editor when row 3 is empty, fixes #9840
git-svn-id: http://svn.automattic.com/wordpress/trunk@11515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1334,6 +1334,11 @@ function wp_tiny_mce( $teeny = false ) {
|
||||
$initArray = apply_filters('tiny_mce_before_init', $initArray);
|
||||
}
|
||||
|
||||
if ( empty($initArray['theme_advanced_buttons3']) && !empty($initArray['theme_advanced_buttons4']) ) {
|
||||
$initArray['theme_advanced_buttons3'] = $initArray['theme_advanced_buttons4'];
|
||||
$initArray['theme_advanced_buttons4'] = '';
|
||||
}
|
||||
|
||||
if ( ! isset($concatenate_scripts) )
|
||||
script_concat_settings();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user