Changeset 18911 for trunk/wp-admin/users.php
- Timestamp:
- 10/07/2011 04:57:12 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/users.php
r18867 r18911 18 18 $parent_file = 'users.php'; 19 19 20 $current_screen->add_option( 'per_page', array('label' => _x( 'Users', 'users per page (screen options)' )) ); 21 22 $current_screen->add_option_context( 23 '<p>test</p>' 20 add_screen_option( 'per_page', array('label' => _x( 'Users', 'users per page (screen options)' )) ); 21 22 // contextual help - choose Help on the top right of admin panel to preview this. 23 add_contextual_help($current_screen, 24 '<p>' . __('This screen lists all the existing users for your site. Each user has one of five defined roles as set by the site admin: Site Administrator, Editor, Author, Contributor, or Subscriber. Users with roles other than Administrator will see fewer options in the dashboard navigation when they are logged in, based on their role.') . '</p>' . 25 '<p>' . __('You can customize the display of information on this screen as you can on other screens, by using the Screen Options tab and the on-screen filters.') . '</p>' . 26 '<p>' . __('To add a new user for your site, click the Add New button at the top of the screen or Add New in the Users menu section.') . '</p>' . 27 '<p><strong>' . __('For more information:') . '</strong></p>' . 28 '<p>' . __('<a href="http://codex.wordpress.org/Users_Screen" target="_blank">Documentation on Managing Users</a>') . '</p>' . 29 '<p>' . __('<a href="http://codex.wordpress.org/Roles_and_Capabilities" target="_blank">Descriptions of Roles and Capabilities</a>') . '</p>' . 30 '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 24 31 ); 25 26 add_contextual_help( $current_screen, '27 <p>' . __('This screen lists all the existing users for your site. Each user has one of five defined roles as set by the site admin: Site Administrator, Editor, Author, Contributor, or Subscriber. Users with roles other than Administrator will see fewer options in the dashboard navigation when they are logged in, based on their role.') . '</p>28 <p>' . __('You can customize the display of information on this screen as you can on other screens, by using the Screen Options tab and the on-screen filters.') . '</p>29 <p>' . __('To add a new user for your site, click the Add New button at the top of the screen or Add New in the Users menu section.') . '</p>30 <p><strong>' . __('For more information:') . '</strong></p>31 <p>' . __('<a href="http://codex.wordpress.org/Users_Screen" target="_blank">Documentation on Managing Users</a>') . '</p>32 <p>' . __('<a href="http://codex.wordpress.org/Roles_and_Capabilities" target="_blank">Descriptions of Roles and Capabilities</a>') . '</p>33 <p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' );34 32 35 33 if ( empty($_REQUEST) ) {
Note: See TracChangeset
for help on using the changeset viewer.