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:
parent
4b4d4d9bb5
commit
6332287bb3
@ -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;
|
||||
|
@ -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' => '«',
|
||||
|
Loading…
Reference in New Issue
Block a user