Make WordPress Core


Ignore:
Timestamp:
11/02/2011 02:38:37 AM (14 years ago)
Author:
ryan
Message:

Chain off of get_current_screen() instead of using global. see #19020

File:
1 edited

Legend:

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

    r19014 r19110  
    3838$help_navigation .= '<p>' . __('Links in the &#8220;admin bar&#8221; at the top of the screen connect your dashboard and the front end of your site, and provide access to your profile and helpful WordPress information.') . '</p>';
    3939
    40 $current_screen->add_help_tab( array(
     40get_current_screen()->add_help_tab( array(
    4141        'id'      => 'help-navigation',
    4242    'title'   => __('Navigation'),
     
    4949$help_layout .= '<p>' . __('<strong>Box Controls</strong> - Click the title bar of the box to expand or collapse it. In addition, some box have configurable content, and will show a &#8220;Configure&#8221; link in the title bar if you hover over it.') . '</p>';
    5050
    51 $current_screen->add_help_tab( array(
     51get_current_screen()->add_help_tab( array(
    5252        'id'      => 'help-layout',
    5353    'title'   => __('Layout'),
     
    6565$help_content .= '<p>' . __('<strong>Plugins</strong> - Features the most popular, newest, and recently updated plugins from the WordPress.org Plugin Directory.') . '</p>';
    6666
    67 $current_screen->add_help_tab( array(
     67get_current_screen()->add_help_tab( array(
    6868        'id'      => 'help-content',
    6969    'title'   => __('Content'),
     
    7171) );
    7272
    73 $current_screen->add_help_sidebar(
     73get_current_screen()->add_help_sidebar(
    7474    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    7575    '<p>' . __( '<a href="http://codex.wordpress.org/Dashboard_Screen" target="_blank">Documentation on Dashboard</a>' ) . '</p>' .
Note: See TracChangeset for help on using the changeset viewer.