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:
markjaquith 2008-03-21 20:03:31 +00:00
parent a2c0c840b9
commit 2aa9ee9d08
1 changed files with 1 additions and 0 deletions

View File

@ -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)')),