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

git-svn-id: https://develop.svn.wordpress.org/trunk@5368 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2007-05-01 23:33:44 +00:00
parent 4b4d4d9bb5
commit 6332287bb3
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' => 'upload.php?%_%',
'format' => 'paged=%#%',
'base' => add_query_arg( 'paged', '%#%' ),
'format' => '',
'total' => ceil($total / $per),
'current' => $paged ? $paged : 1,
'prev_text' => '«',