WordPress.org

Make WordPress Core

Ticket #15306: 15306.3.patch

File 15306.3.patch, 623 bytes (added by SergeyBiryukov, 2 years ago)
  • wp-admin/includes/class-wp-ms-themes-list-table.php

     
    127127                $start = ( $page - 1 ) * $themes_per_page; 
    128128 
    129129                if ( $total_this_page > $themes_per_page ) 
    130                         $this->items = array_slice( $this->items, $start, $themes_per_page ); 
     130                        $this->items = array_slice( $this->items, $start, $themes_per_page, true ); 
    131131 
    132132                $this->set_pagination_args( array( 
    133133                        'total_items' => $total_this_page,