Make WordPress Core

Ticket #15576: 15576.7.patch

File 15576.7.patch, 6.2 KB (added by DrewAPicture, 13 years ago)

Refresh.

  • wp-admin/edit-comments.php

     
    109109else
    110110        $title = __('Comments');
    111111
    112 add_screen_option( 'per_page', array('label' => _x( 'Comments', 'comments per page (screen options)' )) );
     112add_screen_option( 'per_page', array( 'label' => _x( 'Items', 'items per page (screen options)' ) ) );
    113113
    114114get_current_screen()->add_help_tab( array(
    115115'id'            => 'overview',
  • 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' => _x( 'Items', 'items per page (screen options)' ), 'default' => 20, 'option' => 'edit_' . $tax->name . '_per_page' ) );
    4040
    4141switch ( $wp_list_table->current_action() ) {
    4242
  • wp-admin/edit.php

     
    222222        );
    223223}
    224224
    225 add_screen_option( 'per_page', array( 'label' => $title, 'default' => 20, 'option' => 'edit_' . $post_type . '_per_page' ) );
     225add_screen_option( 'per_page', array( 'label' => _x( 'Items', 'items per page (screen options)' ), 'default' => 20, 'option' => 'edit_' . $post_type . '_per_page' ) );
    226226
    227227require_once('./admin-header.php');
    228228?>
  • wp-admin/network/site-themes.php

     
    123123}
    124124
    125125add_thickbox();
    126 add_screen_option( 'per_page', array( 'label' => _x( 'Themes', 'themes per page (screen options)' ) ) );
     126add_screen_option( 'per_page', array( 'label' => _x( 'Items', 'items per page (screen options)' ) ) );
    127127
    128128$site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $id ) );
    129129$title_site_url_linked = sprintf( __('Edit Site: <a href="%1$s">%2$s</a>'), get_blogaddress_by_id( $id ), $site_url_no_http );
  • wp-admin/network/site-users.php

     
    155155        exit();
    156156}
    157157
    158 add_screen_option( 'per_page', array( 'label' => _x( 'Users', 'users per page (screen options)' ) ) );
     158add_screen_option( 'per_page', array( 'label' => _x( 'Items', 'items per page (screen options)' ) ) );
    159159
    160160$site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $id ) );
    161161$title_site_url_linked = sprintf( __('Edit Site: <a href="%1$s">%2$s</a>'), get_blogaddress_by_id( $id ), $site_url_no_http );
  • wp-admin/network/sites.php

     
    2222$title = __( 'Sites' );
    2323$parent_file = 'sites.php';
    2424
    25 add_screen_option( 'per_page', array( 'label' => _x( 'Sites', 'sites per page (screen options)' ) ) );
     25add_screen_option( 'per_page', array( 'label' => _x( 'Items', 'items per page (screen options)' ) ) );
    2626
    2727get_current_screen()->add_help_tab( array(
    2828        'id'      => 'overview',
  • wp-admin/network/themes.php

     
    200200
    201201add_thickbox();
    202202
    203 add_screen_option( 'per_page', array('label' => _x( 'Themes', 'themes per page (screen options)' )) );
     203add_screen_option( 'per_page', array( 'label' => _x( 'Items', 'items per page (screen options)' ) ) );
    204204
    205205get_current_screen()->add_help_tab( array(
    206206        'id'      => 'overview',
  • wp-admin/network/users.php

     
    225225$title = __( 'Users' );
    226226$parent_file = 'users.php';
    227227
    228 add_screen_option( 'per_page', array('label' => _x( 'Users', 'users per page (screen options)' )) );
     228add_screen_option( 'per_page', array( 'label' => _x( 'Items', 'items per page (screen options)' ) ) );
    229229
    230230get_current_screen()->add_help_tab( array(
    231231        'id'      => 'overview',
  • wp-admin/plugins.php

     
    333333wp_enqueue_script('plugin-install');
    334334add_thickbox();
    335335
    336 add_screen_option( 'per_page', array('label' => _x( 'Plugins', 'plugins per page (screen options)' ), 'default' => 999 ) );
     336add_screen_option( 'per_page', array( 'label' => _x( 'Items', 'items per page (screen options)' ), 'default' => 999 ) );
    337337
    338338get_current_screen()->add_help_tab( array(
    339339'id'            => 'overview',
  • wp-admin/upload.php

     
    145145wp_enqueue_script( 'jquery-ui-draggable' );
    146146wp_enqueue_script( 'media' );
    147147
    148 add_screen_option( 'per_page', array('label' => _x( 'Media items', 'items per page (screen options)' )) );
     148add_screen_option( 'per_page', array( 'label' => _x( 'Items', 'items per page (screen options)' ) ) );
    149149
    150150get_current_screen()->add_help_tab( array(
    151151'id'            => 'overview',
  • wp-admin/users.php

     
    1717$title = __('Users');
    1818$parent_file = 'users.php';
    1919
    20 add_screen_option( 'per_page', array('label' => _x( 'Users', 'users per page (screen options)' )) );
     20add_screen_option( 'per_page', array( 'label' => _x( 'Items', 'items per page (screen options)' ) ) );
    2121
    2222// contextual help - choose Help on the top right of admin panel to preview this.
    2323get_current_screen()->add_help_tab( array(