Move buttons from row 4 to row 3 in the editor when row 3 is empty, fixes #9840
git-svn-id: https://develop.svn.wordpress.org/trunk@11515 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5bf8c2ce66
commit
dcf5ea2881
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user