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: https://develop.svn.wordpress.org/trunk@7458 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2008-03-21 20:03:31 +00:00
parent 49dde1abac
commit 933afe995a
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)')),