Ticket #44821: 44821.diff
| File 44821.diff, 988 bytes (added by , 8 years ago) |
|---|
-
wp-admin/includes/class-wp-terms-list-table.php
107 107 * @param int $tags_per_page Number of categories to be displayed. Default 20. 108 108 */ 109 109 $tags_per_page = apply_filters( 'edit_categories_per_page', $tags_per_page ); 110 } 110 } else { 111 /** 112 * Filters the number of terms displayed per page for a specific taxonomy. 113 * 114 * The dynamic portion of the hook name, `$this->screen->taxonomy`, refers to 115 * the name of the current taxonomy. 116 * 117 * @param int $tags_per_page Number of terms to be displayed. Default 20. 118 */ 119 $tags_per_page = apply_filters( "edit_{$this->screen->taxonomy}_per_page", $tags_per_page ); 120 } 111 121 112 122 $search = ! empty( $_REQUEST['s'] ) ? trim( wp_unslash( $_REQUEST['s'] ) ) : ''; 113 123