Allow a plugin to control the number of tags per edit tags page.

git-svn-id: http://svn.automattic.com/wordpress/trunk@9848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2008-11-23 08:48:57 +00:00
parent 3c15f6a8d3
commit 72038d2df4
1 changed files with 2 additions and 2 deletions

View File

@ -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' => '',