WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/30/2011 11:18:18 PM (9 years ago)
Author:
azaozz
Message:

Toggle class 'responsive' on div.wrap when auto columns is toggled, see #18198

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r18607 r18625  
    194194?>
    195195
    196 <div class="wrap columns-<?php echo esc_attr($screen_layout_columns);?>">
     196<div class="wrap<?php if ( $screen_layout_columns == 'auto' ) echo ' responsive'; ?>">
    197197<?php screen_icon(); ?>
    198198<h2><?php echo esc_html( $title ); ?><?php if ( isset( $post_new_file ) ) : ?> <a href="<?php echo esc_url( $post_new_file ) ?>" class="add-new-h2"><?php echo esc_html($post_type_object->labels->add_new); ?></a><?php endif; ?></h2>
Note: See TracChangeset for help on using the changeset viewer.