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:
parent
3c15f6a8d3
commit
72038d2df4
|
@ -155,8 +155,8 @@ 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', '%#%' ),
|
||||
|
|
Loading…
Reference in New Issue