Make WordPress Core


Ignore:
Timestamp:
05/03/2012 05:54:20 PM (13 years ago)
Author:
koopersmith
Message:

Fix markup in wp-admin/themes.php. see #20403.

  • Always print opening form tag.
  • Always ensure table content clears to the next line. This prevents table content from bunching next to the 'Available Themes' headline, which occurred when only one theme was active on a multisite install.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/themes.php

    r20520 r20716  
    172172?>
    173173
     174<form class="search-form filter-form" action="" method="get">
     175
    174176<h3 class="available-themes"><?php _e('Available Themes'); ?></h3>
    175177
    176178<?php if ( !empty( $_REQUEST['s'] ) || !empty( $_REQUEST['features'] ) || $wp_list_table->has_items() ) : ?>
    177 
    178 <form class="search-form filter-form" action="" method="get">
    179179
    180180<p class="search-box">
     
    184184    <a id="filter-click" href="?filter=1"><?php _e( 'Feature Filter' ); ?></a>
    185185</p>
    186 
    187 <br class="clear"/>
    188186
    189187<div id="filter-box" style="<?php if ( empty($_REQUEST['filter']) ) echo 'display: none;'; ?>">
     
    225223</div>
    226224
     225<?php endif; ?>
     226
    227227<br class="clear" />
    228 
    229 <?php endif; ?>
    230228
    231229<?php $wp_list_table->display(); ?>
Note: See TracChangeset for help on using the changeset viewer.