From 9babc32900d07526a62df07b275d13bc0110bce7 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 24 Mar 2014 03:25:16 +0000 Subject: [PATCH] Use correct variable. see [27373]. props TobiasBg. fixes #14424. Built from https://develop.svn.wordpress.org/trunk@27675 git-svn-id: http://core.svn.wordpress.org/trunk@27518 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index 04295dabd6..823ecb9d78 100644 --- a/wp-admin/includes/media.php +++ b/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 )