Make WordPress Core


Ignore:
Timestamp:
12/06/2010 03:15:09 PM (15 years ago)
Author:
nacin
Message:

Restore bottom padding in plugin rows. fixes #15547.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-plugins-list-table.php

    r16709 r16745  
    391391        $checkbox = in_array( $status, array( 'mustuse', 'dropins' ) ) ? '' : "<input type='checkbox' name='checked[]' value='" . esc_attr( $plugin_file ) . "' id='" . $checkbox_id . "' /><label class='screen-reader-text' for='" . $checkbox_id . "' >" . __('Select') . " " . $plugin_data['Name'] . "</label>";
    392392        if ( 'dropins' != $context ) {
    393             $description = '<p>' . $plugin_data['Description'] . '</p>';
     393            $description = '<p>' . ( $plugin_data['Description'] ? $plugin_data['Description'] : '&nbsp;' ) . '</p>';
    394394            $plugin_name = $plugin_data['Name'];
    395395        }
Note: See TracChangeset for help on using the changeset viewer.