Fix inline uploader page links. Props mdawaffe. fixes #4217 for 2.2

git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2007-05-01 23:34:00 +00:00
parent 5964d5f48a
commit e2e4ea32da
2 changed files with 3 additions and 2 deletions

View File

@ -44,6 +44,7 @@ body > #upload-menu { border-bottom: 7px solid #fff; }
}
#upload-menu li #current-tab-nav {
background: #f9fcfe;
float: left;
padding: 5px 5px 0 0;
margin-left: -5px;

View File

@ -104,8 +104,8 @@ foreach ( $wp_upload_tabs as $t => $tab_array ) { // We've already done the curr
$per = 10;
}
$page_links = paginate_links( array(
'base' => 'users.php?%_%',
'format' => 'paged=%#%',
'base' => add_query_arg( 'paged', '%#%' ),
'format' => '',
'total' => ceil($total / $per),
'current' => $paged ? $paged : 1,
'prev_text' => '«',