Make WordPress Core


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

Use WP_Screen::add_help_tab(). see #19020

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/theme-install.php

    r19122 r19514  
    4343$help .= '<p>' . __('You can Upload a theme manually if you have already downloaded its ZIP archive onto your computer (make sure it is from a trusted and original source). You can also do it the old-fashioned way and copy a downloaded theme&#8217;s folder via FTP into your <code>/wp-content/themes</code> directory.') . '</p>';
    4444
    45 add_contextual_help($current_screen, $help);
     45get_current_screen()->add_help_tab( array(
     46    'id'      => 'overview',
     47    'title'   => __('Overview'),
     48    'content' => $help
     49) );
    4650
    4751get_current_screen()->set_help_sidebar(
Note: See TracChangeset for help on using the changeset viewer.