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:
parent
5964d5f48a
commit
e2e4ea32da
|
@ -44,6 +44,7 @@ body > #upload-menu { border-bottom: 7px solid #fff; }
|
||||||
}
|
}
|
||||||
|
|
||||||
#upload-menu li #current-tab-nav {
|
#upload-menu li #current-tab-nav {
|
||||||
|
background: #f9fcfe;
|
||||||
float: left;
|
float: left;
|
||||||
padding: 5px 5px 0 0;
|
padding: 5px 5px 0 0;
|
||||||
margin-left: -5px;
|
margin-left: -5px;
|
||||||
|
|
|
@ -104,8 +104,8 @@ foreach ( $wp_upload_tabs as $t => $tab_array ) { // We've already done the curr
|
||||||
$per = 10;
|
$per = 10;
|
||||||
}
|
}
|
||||||
$page_links = paginate_links( array(
|
$page_links = paginate_links( array(
|
||||||
'base' => 'users.php?%_%',
|
'base' => add_query_arg( 'paged', '%#%' ),
|
||||||
'format' => 'paged=%#%',
|
'format' => '',
|
||||||
'total' => ceil($total / $per),
|
'total' => ceil($total / $per),
|
||||||
'current' => $paged ? $paged : 1,
|
'current' => $paged ? $paged : 1,
|
||||||
'prev_text' => '«',
|
'prev_text' => '«',
|
||||||
|
|
Loading…
Reference in New Issue