Changeset 51983
- Timestamp:
- 11/02/2021 06:32:24 PM (3 years ago)
- Location:
- branches/5.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.8
-
branches/5.8/src/wp-admin/includes/ajax-actions.php
r51507 r51983 3004 3004 } 3005 3005 3006 $posts_per_page = (int) $attachments_query-> query['posts_per_page'];3006 $posts_per_page = (int) $attachments_query->get( 'posts_per_page' ); 3007 3007 3008 3008 $max_pages = $posts_per_page ? ceil( $total_posts / $posts_per_page ) : 0;
Note: See TracChangeset
for help on using the changeset viewer.