Media: Increase number of media items displayed per page.

Increase the number of media items displayed per page from 40 to 80 to improve the experience for users navigating the library on sites with a large quantity of media in the library.

Props AlGala, antpb, hellofromTonya, joedolson, SergeyBiryukov, wb1234.
Fixes #53827.


Built from https://develop.svn.wordpress.org/trunk@51632


git-svn-id: http://core.svn.wordpress.org/trunk@51238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Peter Wilson 2021-08-18 06:00:59 +00:00
parent c9bf6d13ef
commit 43e86e620a
3 changed files with 3 additions and 3 deletions

View File

@ -1409,7 +1409,7 @@ Query = Attachments.extend(/** @lends wp.media.model.Query.prototype */{
* @readonly
*/
defaultArgs: {
posts_per_page: 40
posts_per_page: 80
},
/**
* @readonly

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.9-alpha-51631';
$wp_version = '5.9-alpha-51632';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.