WordPress.org

Make WordPress Core

Changeset 20570


Ignore:
Timestamp:
04/23/12 22:40:59 (2 years ago)
Author:
azaozz
Message:

Dashboard and write screen columns: remove unneeded class from the .wrap div on Write/Edit screens, see #20015

Location:
trunk/wp-admin
Files:
2 edited

Legend:

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

    r20433 r20570  
    244244?> 
    245245 
    246 <div class="wrap columns-<?php echo (int) $screen_layout_columns ? (int) $screen_layout_columns : 'auto'; ?>"> 
     246<div class="wrap"> 
    247247<?php screen_icon(); ?> 
    248248<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> 
  • trunk/wp-admin/edit-link-form.php

    r20272 r20570  
    5858?> 
    5959 
    60 <div class="wrap columns-<?php echo (int) $screen_layout_columns ? (int) $screen_layout_columns : 'auto'; ?>"> 
     60<div class="wrap"> 
    6161<?php screen_icon(); ?> 
    6262<h2><?php echo esc_html( $title ); ?>  <a href="link-add.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'link'); ?></a></h2> 
Note: See TracChangeset for help on using the changeset viewer.