mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Allow a plugin to control the number of tags per edit tags page.
git-svn-id: https://develop.svn.wordpress.org/trunk@9848 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4fa6ae8fa5
commit
b98e39d0e5
@ -155,9 +155,9 @@ endif; ?>
|
||||
$pagenum = isset( $_GET['pagenum'] ) ? absint( $_GET['pagenum'] ) : 0;
|
||||
if ( empty($pagenum) )
|
||||
$pagenum = 1;
|
||||
if( ! isset( $tagsperpage ) || $tagsperpage < 0 )
|
||||
$tagsperpage = 20;
|
||||
|
||||
$tagsperpage = apply_filters("tagsperpage",20);
|
||||
|
||||
$page_links = paginate_links( array(
|
||||
'base' => add_query_arg( 'pagenum', '%#%' ),
|
||||
'format' => '',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user