Make WordPress Core


Ignore:
Timestamp:
06/10/2015 07:46:39 PM (10 years ago)
Author:
helen
Message:

List tables: Use a class instead of inline styles for hidden columns.

fixes #32608.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-ms-users-list-table.php

    r32666 r32724  
    209209                }
    210210
    211                 $style = '';
    212211                if ( in_array( $column_name, $hidden ) ) {
    213                     $style = ' style="display:none;"';
     212                    $classes .= ' hidden';
    214213                }
    215214
    216                 $attributes = "class='$classes'$style";
     215                $attributes = "class='$classes'";
    217216
    218217                if ( 'cb' === $column_name ){
Note: See TracChangeset for help on using the changeset viewer.