Make WordPress Core


Ignore:
Timestamp:
11/23/2008 08:48:57 AM (16 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-tags.php

    r9746 r9848  
    156156if ( empty($pagenum) )
    157157    $pagenum = 1;
    158 if( ! isset( $tagsperpage ) || $tagsperpage < 0 )
    159     $tagsperpage = 20;
    160 
     158
     159$tagsperpage = apply_filters("tagsperpage",20);
     160   
    161161$page_links = paginate_links( array(
    162162    'base' => add_query_arg( 'pagenum', '%#%' ),
Note: See TracChangeset for help on using the changeset viewer.