mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 06:29:30 +00:00
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,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…
x
Reference in New Issue
Block a user