Make WordPress Core


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

Use WP_Screen::add_help_tab(). see #19020

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/comment.php

    r19296 r19514  
    4646    $title = __('Edit Comment');
    4747
    48     add_contextual_help( $current_screen, '<p>' . __( 'You can edit the information left in a comment if needed. This is often useful when you notice that a commenter has made a typographical error.' ) . '</p>' .
    49     '<p>' . __( 'You can also moderate the comment from this screen using the Status box, where you can also change the timestamp of the comment.' ) . '</p>'
    50     );
     48    get_current_screen()->add_help_tab( array(
     49        'id'      => 'overview',
     50        'title'   => __('Overview'),
     51        'content' =>
     52            '<p>' . __( 'You can edit the information left in a comment if needed. This is often useful when you notice that a commenter has made a typographical error.' ) . '</p>' .
     53            '<p>' . __( 'You can also moderate the comment from this screen using the Status box, where you can also change the timestamp of the comment.' ) . '</p>'
     54    ) );
    5155
    5256    get_current_screen()->set_help_sidebar(
Note: See TracChangeset for help on using the changeset viewer.