Make WordPress Core


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

Use WP_Screen::add_help_tab(). see #19020

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/site-new.php

    r19211 r19514  
    1717    wp_die( __( 'You do not have sufficient permissions to add sites to this network.' ) );
    1818
    19 add_contextual_help($current_screen,
    20     '<p>' . __('This screen is for Super Admins to add new sites to the network. This is not affected by the registration settings.') . '</p>' .
    21     '<p>' . __('If the admin email for the new site does not exist in the database, a new user will also be created.') . '</p>'
    22 );
     19    get_current_screen()->add_help_tab( array(
     20        'id'      => 'overview',
     21        'title'   => __('Overview'),
     22        'content' =>
     23            '<p>' . __('This screen is for Super Admins to add new sites to the network. This is not affected by the registration settings.') . '</p>' .
     24            '<p>' . __('If the admin email for the new site does not exist in the database, a new user will also be created.') . '</p>'
     25) );
    2326
    2427get_current_screen()->set_help_sidebar(
Note: See TracChangeset for help on using the changeset viewer.