Provide context for screen options plural labels. fixes #13369.
git-svn-id: https://develop.svn.wordpress.org/trunk@15201 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a052939dfc
commit
825032bbf6
@ -3748,23 +3748,23 @@ function screen_options($screen) {
|
||||
$per_page_label = $post_type_object->labels->name;
|
||||
break;
|
||||
case 'ms-sites':
|
||||
$per_page_label = __('Sites');
|
||||
$per_page_label = _x( 'Sites', 'sites per page (screen options)' );
|
||||
break;
|
||||
case 'ms-users':
|
||||
$per_page_label = __('Users');
|
||||
$per_page_label = _x( 'Users', 'users per page (screen options)' );
|
||||
break;
|
||||
case 'edit-comments':
|
||||
$per_page_label = __('Comments');
|
||||
$per_page_label = _x( 'Comments', 'comments per page (screen options)' );
|
||||
break;
|
||||
case 'upload':
|
||||
$per_page_label = __('Media items');
|
||||
$per_page_label = _x( 'Media items', 'items per page (screen options)' );
|
||||
break;
|
||||
case 'edit-tags':
|
||||
global $tax;
|
||||
$per_page_label = $tax->labels->name;
|
||||
break;
|
||||
case 'plugins':
|
||||
$per_page_label = __('Plugins');
|
||||
$per_page_label = _x( 'Plugins', 'plugins per page (screen options)' );
|
||||
break;
|
||||
default:
|
||||
return '';
|
||||
|
Loading…
Reference in New Issue
Block a user