WordPress.org

Make WordPress Core

Ticket #15306: 15306.patch

File 15306.patch, 526 bytes (added by Utkarsh, 4 years ago)
  • wp-admin/includes/class-wp-themes-list-table.php

     
    5252 
    5353                $start = ( $page - 1 ) * $per_page; 
    5454 
    55                 $this->items = array_slice( $themes, $start, $per_page ); 
     55                $this->items = array_slice( $themes, $start, $per_page, true ); 
    5656 
    5757                $this->set_pagination_args( array( 
    5858                        'query_var' => 'pagenum',