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/plugin-editor.php

    r19122 r19445  
    111111    }
    112112
    113     add_contextual_help($current_screen,
     113    get_current_screen()->add_help_tab( array(
     114    'id'        => 'overview',
     115    'title'     => __('Overview'),
     116    'content'   =>     
    114117        '<p>' . __('You can use the editor to make changes to any of your plugins&#8217; individual PHP files. Be aware that if you make changes, plugins updates will overwrite your customizations.') . '</p>' .
    115118        '<p>' . __('Choose a plugin to edit from the menu in the upper right and click the Select button. Click once on any file name to load it in the editor, and make your changes. Don&#8217;t forget to save your changes (Update File) when you&#8217;re finished.') . '</p>' .
     
    117120        '<p>' . __('If you want to make changes but don&#8217;t want them to be overwritten when the plugin is updated, you may be ready to think about writing your own plugin. For information on how to edit plugins, write your own from scratch, or just better understand their anatomy, check out the links below.') . '</p>' .
    118121        ( is_network_admin() ? '<p>' . __('Any edits to files from this screen will be reflected on all sites in the network.') . '</p>' : '' )
    119     );
     122    ) );
    120123
    121124    get_current_screen()->set_help_sidebar(
Note: See TracChangeset for help on using the changeset viewer.