WordPress.org

Make WordPress Core

Ticket #32735: 32735.2.diff

File 32735.2.diff, 533 bytes (added by swissspidy, 4 years ago)
  • src/wp-admin/includes/class-wp-plugins-list-table.php

    diff --git src/wp-admin/includes/class-wp-plugins-list-table.php src/wp-admin/includes/class-wp-plugins-list-table.php
    index 9b12644..334c5fd 100644
    class WP_Plugins_List_Table extends WP_List_Table { 
    199199
    200200                $total_this_page = $totals[ $status ];
    201201
     202                if( '' === $orderby ) {
     203                        $orderby = 'name';
     204                }
     205
    202206                if ( $orderby ) {
    203207                        $orderby = ucfirst( $orderby );
    204208                        $order = strtoupper( $order );