WordPress.org

Make WordPress Core

Changeset 11515


Ignore:
Timestamp:
06/03/2009 11:00:57 PM (11 years ago)
Author:
azaozz
Message:

Move buttons from row 4 to row 3 in the editor when row 3 is empty, fixes #9840

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/post.php

    r11450 r11515  
    13351335    }
    13361336
     1337    if ( empty($initArray['theme_advanced_buttons3']) && !empty($initArray['theme_advanced_buttons4']) ) {
     1338        $initArray['theme_advanced_buttons3'] = $initArray['theme_advanced_buttons4'];
     1339        $initArray['theme_advanced_buttons4'] = '';
     1340    }
     1341
    13371342    if ( ! isset($concatenate_scripts) )
    13381343        script_concat_settings();
Note: See TracChangeset for help on using the changeset viewer.