Make WordPress Core

Changeset 19474


Ignore:
Timestamp:
11/29/2011 05:37:04 PM (15 years ago)
Author:
koopersmith
Message:

Use 3.3 help API on edit tags page. props Ipstenu, see #19020.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-tags.php

    r19445 r19474  
    222222                '<p>' . __( 'You can change the display of this screen using the Screen Options tab to set how many items are displayed per screen and to display/hide columns in the table.' ) . '</p>';
    223223
    224         add_contextual_help($current_screen, $help);
     224        get_current_screen()->add_help_tab( array(
     225                'id'      => 'help-overview',
     226                'title'   => __('Overview'),
     227                'content' => $help,
     228        ) );
    225229
    226230        $help = '<p><strong>' . __( 'For more information:' ) . '</strong></p>';
Note: See TracChangeset for help on using the changeset viewer.