Changeset 12816 for trunk/wp-admin/edit-tags.php
- Timestamp:
- 01/24/2010 02:07:13 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-tags.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-tags.php
r12733 r12816 201 201 $tags_per_page = apply_filters( 'tagsperpage', $tags_per_page ); // Old filter 202 202 203 if ( !empty($_GET['s']) ) 204 $total_terms = count( get_terms( $taxonomy, array( 'search' => trim(stripslashes($_GET['s'])), 'number' => 0, 'hide_empty' => 0 ) ) ); 205 else 206 $total_terms = wp_count_terms($taxonomy); 207 203 208 $page_links = paginate_links( array( 204 209 'base' => add_query_arg( 'pagenum', '%#%' ), … … 206 211 'prev_text' => __('«'), 207 212 'next_text' => __('»'), 208 'total' => ceil( wp_count_terms($taxonomy)/ $tags_per_page),213 'total' => ceil($total_terms / $tags_per_page), 209 214 'current' => $pagenum 210 215 )); … … 311 316 <label for="description"><?php _e('Description') ?></label> 312 317 <textarea name="description" id="description" rows="5" cols="40"></textarea> 313 <p><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></p>318 <p><?php _e('The description is not prominent by default; however, some themes may show it.'); ?></p> 314 319 </div> 315 320
Note: See TracChangeset
for help on using the changeset viewer.