Make WordPress Core


Ignore:
Timestamp:
11/24/2011 12:21:39 AM (13 years ago)
Author:
ryan
Message:

Help tabs. Props chexee. see #19020

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/link-manager.php

    r19119 r19445  
    4141$this_file = $parent_file = 'link-manager.php';
    4242
    43 add_contextual_help( $current_screen,
     43get_current_screen()->add_help_tab( array(
     44'id'        => 'overview',
     45'title'     => __('Overview'),
     46'content'   => 
    4447    '<p>' . sprintf(__('You can add links here to be displayed on your site, usually using <a href="%s">Widgets</a>. By default, links to several sites in the WordPress community are included as examples.'), 'widgets.php') . '</p>' .
    45     '<p>' . __('Links may be separated into categories; these are different than the categories used on your posts.') . '</p>' .
    46     '<p>' . __('You can customize the display of this screen using the Screen Options tab and/or the dropdown filters above the links table.') . '</p>' .
     48    '<p>' . __('Links may be separated into Link Categories; these are different than the categories used on your posts.') . '</p>' .
     49    '<p>' . __('You can customize the display of this screen using the Screen Options tab and/or the dropdown filters above the links table.') . '</p>'
     50) );
     51get_current_screen()->add_help_tab( array(
     52'id'        => 'deleting-links',
     53'title'     => __('Deleting Links'),
     54'content'   =>
    4755    '<p>' . __('If you delete a link, it will be removed permanently, as Links do not have a Trash function yet.') . '</p>'
    48 );
     56) );
    4957
    5058get_current_screen()->set_help_sidebar(
Note: See TracChangeset for help on using the changeset viewer.