WordPress.org

Make WordPress Core

Changeset 33101


Ignore:
Timestamp:
07/07/2015 12:08:46 AM (4 years ago)
Author:
helen
Message:

List tables: Account for comments being reused on the post edit screen.

Adding the .wp-list-table class gets us a few responsive goodies for free. And now it won't show a strange button outline.

see #32395.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/list-tables.css

    r33099 r33101  
    19041904    }
    19051905
    1906     /* Plugin/Theme Management Page */
     1906    /* List tables that don't toggle rows */
     1907    .comments-box .toggle-row,
    19071908    .wp-list-table.plugins .toggle-row {
    19081909        display: none;
    19091910    }
    19101911
     1912    /* Plugin/Theme Management */
    19111913    #wpbody-content .wp-list-table.plugins td {
    19121914        display: block;
  • trunk/src/wp-admin/includes/class-wp-comments-list-table.php

    r33016 r33101  
    748748    protected function get_table_classes() {
    749749        $classes = parent::get_table_classes();
     750        $classes[] = 'wp-list-table';
    750751        $classes[] = 'comments-box';
    751752        return $classes;
Note: See TracChangeset for help on using the changeset viewer.