mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Toggle class 'responsive' on div.wrap when auto columns is toggled, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18625 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -193,7 +193,7 @@ if ( 'post' == $post_type ) {
|
||||
require_once('./admin-header.php');
|
||||
?>
|
||||
|
||||
<div class="wrap columns-<?php echo esc_attr($screen_layout_columns);?>">
|
||||
<div class="wrap<?php if ( $screen_layout_columns == 'auto' ) echo ' responsive'; ?>">
|
||||
<?php screen_icon(); ?>
|
||||
<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>
|
||||
<?php if ( $notice ) : ?>
|
||||
|
||||
Reference in New Issue
Block a user