From 48391a74441b107a6836875e3c848e47c96de53f Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 24 Mar 2014 03:24:33 +0000 Subject: [PATCH] Use correct variable. see [27373]. props TobiasBg. fixes #14424. git-svn-id: https://develop.svn.wordpress.org/trunk@27675 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/media.php b/src/wp-admin/includes/media.php index 04295dabd6..823ecb9d78 100644 --- a/src/wp-admin/includes/media.php +++ b/src/wp-admin/includes/media.php @@ -2338,7 +2338,7 @@ $page_links = paginate_links( array( 'prev_text' => __('«'), 'next_text' => __('»'), 'total' => ceil($wp_query->found_posts / 10), - 'current' => $_GET['paged'] + 'current' => $q['paged'], )); if ( $page_links )