Make WordPress Core


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

Help tabs. Props chexee. see #19020

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugin-install.php

    r19122 r19445  
    3636do_action('install_plugins_pre_' . $tab); //Used to override the general interface, Eg, install or plugin information.
    3737
    38 add_contextual_help($current_screen,
     38get_current_screen()->add_help_tab( array(
     39'id'        => 'finding-plugins',
     40'title'     => __('Finding Plugins'),
     41'content'   =>
    3942    '<p>' . sprintf(__('Plugins hook into WordPress to extend its functionality with custom features. Plugins are developed independently from WordPress core by thousands of developers all over the world. All plugins in the official <a href="%s" target="_blank">WordPress.org Plugin Directory</a> are compatible with the license WordPress uses. You can find new plugins to install by searching or browsing the Directory right here in your own Plugins section.'), 'http://wordpress.org/extend/plugins/') . '</p>' .
    4043    '<p>' . __('If you know what you&#8217;re looking for, Search is your best bet. The Search screen has options to search the WordPress.org Plugin Directory for a particular Term, Author, or Tag. You can also search the directory by selecting a popular tags. Tags in larger type mean more plugins have been labeled with that tag.') . '</p>' .
    41     '<p>' . __('If you just want to get an idea of what&#8217;s available, you can browse Featured, Popular, Newest, and Recently Updated plugins by using the links in the upper left of the screen. These sections rotate regularly.') . '</p>' .
     44    '<p>' . __('If you just want to get an idea of what&#8217;s available, you can browse Featured, Popular, Newest, and Recently Updated plugins by using the links in the upper left of the screen. These sections rotate regularly.') . '</p>'
     45) );
     46get_current_screen()->add_help_tab( array(
     47'id'        => 'uploading-plugin',
     48'title'     => __('Uploading Plugins'),
     49'content'   =>
    4250    '<p>' . __('If you want to install a plugin that you&#8217;ve downloaded elsewhere, click Upload in the upper left. You will be prompted to upload the .zip package, and once uploaded, you can activate the new plugin.') . '</p>'
    43 );
     51) );
    4452
    4553get_current_screen()->set_help_sidebar(
Note: See TracChangeset for help on using the changeset viewer.