Make WordPress Core


Ignore:
Timestamp:
11/23/2011 11:02:22 PM (13 years ago)
Author:
ryan
Message:

Help tabs. Props chexee. see #19020

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/media-upload.php

    r19306 r19435  
    6262    $parent_file = 'upload.php';
    6363
    64     add_contextual_help( $current_screen,
    65 '<p>' . __('You can upload media files here without creating a post first. This allows you to upload files to use with posts and pages later and/or to get a web link for a particular file that you can share.') . '</p>' .
     64    get_current_screen()->add_help_tab( array(
     65    'id'        => 'adding-media',
     66    'title'     => __('Adding Media'),
     67    'content'   =>
     68        '<p>' . __('You can upload media files here without creating a post first. This allows you to upload files to use with posts and pages later and/or to get a web link for a particular file that you can share.') . '</p>'
     69    ) );
     70    get_current_screen()->add_help_tab( array(
     71    'id'        => 'editing-new-media',
     72    'title'     => __('Editing New Media'),
     73    'content'   =>
    6674        '<p>' . __('There are two options for uploading files: <em>Select Files</em> will open the Flash-based uploader (multiple file upload allowed), or you can use the <em>Browser Uploader</em>. Clicking <em>Select Files</em> opens a navigation window showing you files in your operating system. Selecting <em>Open</em> after clicking on the file you want activates a progress bar on the uploader screen. Basic image editing is available after upload is complete. Make sure you click <em>Save</em> before leaving this screen.') . '</p>'
    67     );
     75    ) );
    6876
    6977    get_current_screen()->set_help_sidebar(
Note: See TracChangeset for help on using the changeset viewer.