Make WordPress Core

Ticket #34761: fix-both-plugin-install-php-and-users-php.diff

File fix-both-plugin-install-php-and-users-php.diff, 3.0 KB (added by odysseygate, 9 years ago)

I found "upper left" on both plugin-install.php and users.php. so i fixed them. But in users.php, i didnt change texts to generic 'cause increasing user roles are less possible.

  • src/wp-admin/plugin-install.php

     
    7777'title'         => __('Adding Plugins'),
    7878'content'       =>
    7979        '<p>' . __('If you know what you&#8217;re looking for, Search is your best bet. The Search screen has options to search the WordPress.org Plugin Directory for a particular Term, Author, or Tag. You can also search the directory by selecting popular tags. Tags in larger type mean more plugins have been labeled with that tag.') . '</p>' .
    80         '<p>' . __('If you just want to get an idea of what&#8217;s available, you can browse Featured and Popular plugins by using the links in the upper left of the screen. These sections rotate regularly.') . '</p>' .
    81         '<p>' . __('You can also browse a user&#8217;s favorite plugins, by using the Favorites link in the upper left of the screen and entering their WordPress.org username.') . '</p>' .
    82         '<p>' . __('If you want to install a plugin that you&#8217;ve downloaded elsewhere, click the Upload link in the upper left. You will be prompted to upload the .zip package, and once uploaded, you can activate the new plugin.') . '</p>'
     80        '<p>' . __('If you just want to get an idea of what&#8217;s available, you can browse Featured and Popular plugins by using the links above the plugins list. These sections rotate regularly.') . '</p>' .
     81        '<p>' . __('You can also browse a user&#8217;s favorite plugins, by using the Favorites link above the plugins list and entering their WordPress.org username.') . '</p>' .
     82        '<p>' . __('If you want to install a plugin that you&#8217;ve downloaded elsewhere, click the Upload link above the plugins list. You will be prompted to upload the .zip package, and once uploaded, you can activate the new plugin.') . '</p>'
    8383) );
    8484
    8585get_current_screen()->set_help_sidebar(
  • src/wp-admin/users.php

     
    3939        'content' => '<p>' . __('You can customize the display of this screen in a number of ways:') . '</p>' .
    4040                                        '<ul>' .
    4141                                        '<li>' . __('You can hide/display columns based on your needs and decide how many users to list per screen using the Screen Options tab.') . '</li>' .
    42                                         '<li>' . __('You can filter the list of users by User Role using the text links in the upper left to show All, Administrator, Editor, Author, Contributor, or Subscriber. The default view is to show all users. Unused User Roles are not listed.') . '</li>' .
     42                                        '<li>' . __('You can filter the list of users by User Role using the text links above the users list to show All, Administrator, Editor, Author, Contributor, or Subscriber. The default view is to show all users. Unused User Roles are not listed.') . '</li>' .
    4343                                        '<li>' . __('You can view all posts made by a user by clicking on the number under the Posts column.') . '</li>' .
    4444                                        '</ul>'
    4545) );