Ticket #50105: 50105.14.diff
File 50105.14.diff, 469 bytes (added by , 4 years ago) |
---|
-
src/wp-admin/includes/ajax-actions.php
diff --git a/src/wp-admin/includes/ajax-actions.php b/src/wp-admin/includes/ajax-actions.php index d341b236f6..a4ed8efbfc 100644
a b function wp_ajax_query_attachments() { 2999 2999 unset( $query['paged'] ); 3000 3000 3001 3001 $count_query = new WP_Query(); 3002 $count_query->query( $query _args);3002 $count_query->query( $query ); 3003 3003 $total_posts = $count_query->found_posts; 3004 3004 } 3005 3005