WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/12/2016 08:22:45 PM (4 years ago)
Author:
westonruter
Message:

Customize: Clean up media control CSS.

Removes unnecessary wrapper elements and refactors class names to eliminate duplication of rule selectors.

Props celloexpressions.
Fixes #30618.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/customize/class-wp-customize-header-image-control.php

    r35923 r37426  
    122122
    123123            <div class="placeholder">
    124                 <div class="inner">
    125                     <span><span class="dashicons dashicons-randomize dice"></span>
    126                     <# if ( data.type === 'uploaded' ) { #>
    127                         <?php _e( 'Randomizing uploaded headers' ); ?>
    128                     <# } else if ( data.type === 'default' ) { #>
    129                         <?php _e( 'Randomizing suggested headers' ); ?>
    130                     <# } #>
    131                     </span>
    132                 </div>
     124                <span class="dashicons dashicons-randomize dice"></span>
     125                <# if ( data.type === 'uploaded' ) { #>
     126                    <?php _e( 'Randomizing uploaded headers' ); ?>
     127                <# } else if ( data.type === 'default' ) { #>
     128                    <?php _e( 'Randomizing suggested headers' ); ?>
     129                <# } #>
    133130            </div>
    134131
     
    141138
    142139            <div class="placeholder">
    143                 <div class="inner">
    144                     <span>
    145                         <?php _e( 'No image set' ); ?>
    146                     </span>
    147                 </div>
     140                <?php _e( 'No image set' ); ?>
    148141            </div>
    149142
Note: See TracChangeset for help on using the changeset viewer.