WordPress.org

Make WordPress Core

Ticket #15576: 15576.4.patch

File 15576.4.patch, 1.1 KB (added by SergeyBiryukov, 6 years ago)
  • wp-admin/edit-tags.php

     
    3636        $submenu_file = "edit-tags.php?taxonomy=$taxonomy";
    3737}
    3838
    39 add_screen_option( 'per_page', array( 'label' => $title, 'default' => 20, 'option' => 'edit_' . $tax->name . '_per_page' ) );
     39add_screen_option( 'per_page', array( 'label' => __( 'items' ), 'default' => 20, 'option' => 'edit_' . $tax->name . '_per_page' ) );
    4040
    4141switch ( $wp_list_table->current_action() ) {
    4242
  • wp-admin/edit.php

     
    215215        );
    216216}
    217217
    218 add_screen_option( 'per_page', array( 'label' => $title, 'default' => 20, 'option' => 'edit_' . $post_type . '_per_page' ) );
     218add_screen_option( 'per_page', array( 'label' => __( 'items' ), 'default' => 20, 'option' => 'edit_' . $post_type . '_per_page' ) );
    219219
    220220require_once('./admin-header.php');
    221221?>