WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/01/2011 02:22:07 AM (10 years ago)
Author:
ryan
Message:

Use WP_Screen::add_help_tab(). see #19020

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/my-sites.php

    r19504 r19514  
    3636$parent_file = 'index.php';
    3737
    38 add_contextual_help($current_screen,
    39     '<p>' . __('This screen shows an individual user all of their sites in this network, and also allows that user to set a primary site. He or she can use the links under each site to visit either the frontend or the dashboard for that site.') . '</p>' .
    40     '<p>' . __('Up until WordPress version 3.0, what is now called a Multisite Network had to be installed separately as WordPress MU (multi-user).') . '</p>'
    41 );
     38get_current_screen()->add_help_tab( array(
     39    'id'      => 'overview',
     40    'title'   => __('Overview'),
     41    'content' =>
     42        '<p>' . __('This screen shows an individual user all of their sites in this network, and also allows that user to set a primary site. He or she can use the links under each site to visit either the frontend or the dashboard for that site.') . '</p>' .
     43        '<p>' . __('Up until WordPress version 3.0, what is now called a Multisite Network had to be installed separately as WordPress MU (multi-user).') . '</p>'
     44) );
    4245
    4346get_current_screen()->set_help_sidebar(
Note: See TracChangeset for help on using the changeset viewer.