Always show 15 media files per page in the media manager (do not use front-of-house ppp setting). props Denis-de-Bernardy. fixes #6334
git-svn-id: http://svn.automattic.com/wordpress/trunk@7458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a2c0c840b9
commit
2aa9ee9d08
|
@ -567,6 +567,7 @@ function wp_edit_attachments_query( $q = false ) {
|
|||
$q['cat'] = (int) $q['cat'];
|
||||
$q['post_type'] = 'attachment';
|
||||
$q['post_status'] = 'any';
|
||||
$q['posts_per_page'] = 15;
|
||||
$post_mime_types = array( // array( adj, noun )
|
||||
'image' => array(__('Images'), __('Manage Images'), __ngettext_noop('Image (%s)', 'Images (%s)')),
|
||||
'audio' => array(__('Audio'), __('Manage Audio'), __ngettext_noop('Audio (%s)', 'Audio (%s)')),
|
||||
|
|
Loading…
Reference in New Issue