i18n-inate Next Page/Previous Page for User Search. Props teknoseyir. fixes #3872
git-svn-id: http://svn.automattic.com/wordpress/trunk@4944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
18475d8787
commit
d2ccc08c17
wp-admin
|
@ -85,8 +85,8 @@ class WP_User_Search {
|
||||||
$this->paging_text = paginate_links( array(
|
$this->paging_text = paginate_links( array(
|
||||||
'total' => ceil($this->total_users_for_query / $this->users_per_page),
|
'total' => ceil($this->total_users_for_query / $this->users_per_page),
|
||||||
'current' => $this->page,
|
'current' => $this->page,
|
||||||
'prev_text' => '« Previous Page',
|
'prev_text' => __('« Previous Page'),
|
||||||
'next_text' => 'Next Page »',
|
'next_text' => __('Next Page »'),
|
||||||
'base' => 'users.php?%_%',
|
'base' => 'users.php?%_%',
|
||||||
'format' => 'userspage=%#%',
|
'format' => 'userspage=%#%',
|
||||||
'add_args' => array( 'usersearch' => urlencode($this->search_term) )
|
'add_args' => array( 'usersearch' => urlencode($this->search_term) )
|
||||||
|
|
Loading…
Reference in New Issue