WordPress.org

Make WordPress Core

Ticket #14424: 14424-fix.diff

File 14424-fix.diff, 433 bytes (added by TobiasBg, 8 years ago)

Replace a forgotten $GET['paged']

  • src/wp-admin/includes/media.php

    diff --git src/wp-admin/includes/media.php src/wp-admin/includes/media.php
    index dec283dc..1ed2718 100644
    $page_links = paginate_links( array( 
    23382338        'prev_text' => __('«'),
    23392339        'next_text' => __('»'),
    23402340        'total' => ceil($wp_query->found_posts / 10),
    2341         'current' => $_GET['paged']
     2341        'current' => $q['paged']
    23422342));
    23432343
    23442344if ( $page_links )