Make WordPress Core

Ticket #44821: 44821.2.diff

File 44821.2.diff, 972 bytes (added by nateallen, 8 years ago)

Fixes indents (spaces should be tabs)

  • wp-admin/includes/class-wp-terms-list-table.php

     
    107107                         * @param int $tags_per_page Number of categories to be displayed. Default 20.
    108108                         */
    109109                        $tags_per_page = apply_filters( 'edit_categories_per_page', $tags_per_page );
     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 );
    110120                }
    111121
    112122                $search = ! empty( $_REQUEST['s'] ) ? trim( wp_unslash( $_REQUEST['s'] ) ) : '';