WordPress.org

Make WordPress Core

Ticket #16536: 16536.diff

File 16536.diff, 1.8 KB (added by garyc40, 7 years ago)

fix plugin and theme title width in WP_Plugins_List_Table and WP_MS_Themes_List_Table

  • wp-admin/css/wp-admin.dev.css

    diff --git wp-admin/css/wp-admin.dev.css wp-admin/css/wp-admin.dev.css
    index fbb7564..e44488c 100644
    h2 .nav-tab { 
    37843784  17.0 - Plugins
    37853785------------------------------------------------------------------------------*/
    37863786
    3787 .plugins #description {width: 60%}
    3788 
    37893787.plugins .name,
    37903788#pass-strength-result.strong,
    37913789#pass-strength-result.short,
    input.button-highlighted, 
    38393837        padding: 5px 7px 0;
    38403838}
    38413839
    3842 #wpbody-content .plugins .plugin-title {
     3840#wpbody-content .plugins .plugin-title, #wpbody-content .plugins .theme-title {
    38433841        padding-right: 12px;
     3842        white-space:nowrap;
    38443843}
    38453844
    38463845.plugins .second, .plugins .row-actions-visible {
  • wp-admin/includes/class-wp-ms-themes-list-table.php

    diff --git wp-admin/includes/class-wp-ms-themes-list-table.php wp-admin/includes/class-wp-ms-themes-list-table.php
    index aacdb42..6e34a16 100644
    class WP_MS_Themes_List_Table extends WP_List_Table { 
    3838        }
    3939
    4040        function get_table_classes() {
    41                 return array( 'widefat', 'fixed', 'plugins' );  // todo: remove and add CSS for .themes
     41                return array( 'widefat', 'plugins' );   // todo: remove and add CSS for .themes
    4242        }
    4343
    4444        function ajax_user_can() {
  • wp-admin/includes/class-wp-plugins-list-table.php

    diff --git wp-admin/includes/class-wp-plugins-list-table.php wp-admin/includes/class-wp-plugins-list-table.php
    index b23c1ef..eefffb1 100644
    class WP_Plugins_List_Table extends WP_List_Table { 
    2727                        'plural' => 'plugins',
    2828                ) );
    2929        }
     30       
     31        function get_table_classes() {
     32                return array( 'widefat', $this->_args['plural'] );
     33        }
    3034
    3135        function ajax_user_can() {
    3236                if ( is_multisite() ) {