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:
Peter Westwood 2008-11-23 08:48:57 +00:00
parent 4fa6ae8fa5
commit b98e39d0e5

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