Make WordPress Core

Ticket #20518: 3.4_CustomHeader_Help_Tabs-root.patch

File 3.4_CustomHeader_Help_Tabs-root.patch, 3.3 KB (added by TomAuger, 13 years ago)

Still new to creating SVN patches. This one should be from the root folder now.

  • wp-admin/custom-header.php

     
    107107                        'id'      => 'overview',
    108108                        'title'   => __('Overview'),
    109109                        'content' =>
    110                                 '<p>' . __( 'You can set a custom image header for your site. Simply upload the image and crop it, and the new header will go live immediately.' ) . '</p>' .
    111                                 '<p>' . __( 'If you want to discard your custom header and go back to the default included in your theme, click on the buttons to remove the custom image and restore the original header image.' ) . '</p>' .
    112                                 '<p>' . __( 'Some themes come with additional header images bundled. If you see multiple images displayed, select the one you&#8217;d like and click the Save Changes button.' ) . '</p>'
     110                                '<p>' . __( 'This screen is used to customize the header section of your theme.') . '</p>' .
     111                                '<p>' . __( 'You can choose from the theme\'s default header images, or use one of your own. You can also customize how your Site Title and Tagline are displayed.') . '<p>'
    113112                ) );
     113               
     114                get_current_screen()->add_help_tab( array(
     115                        'id'      => 'set-header-image',
     116                        'title'   => __('Header Image'),
     117                        'content' =>
     118                                '<p>' . __( 'You can set a custom image header for your site. Simply upload the image and crop it, and the new header will go live immediately. Alternatively, you can use an image that has already been uploaded to your Media Library by clicking the "Choose from image library" link.' ) . '</p>' .
     119                                '<p>' . __( 'Some themes come with additional header images bundled. If you see multiple images displayed, select the one you&#8217;d like and click the Save Changes button.' ) . '</p>' .
     120                                '<p>' . __( 'If your theme has more than one default header image, or you have uploaded more than one custom header image, you have the option of having WordPress display a randomly different image on each page of your site. Click the "Random" radio button next to the Uploaded Images or Default Images section to enable this feature.') . '</p>' .
     121                                '<p>' . __( 'If you don\'t want a header image to displayed on your site at all, click the "Remove Header Image" button at the bottom of the Header Image section of this page. If you want to re-enable the header image later, you just have to select one of the other image options and click "Save Changes".') . '</p>'
     122                ) );
     123               
     124                get_current_screen()->add_help_tab( array(
     125                        'id'      => 'set-header-text',
     126                        'title'   => __('Header Text'),
     127                        'content' =>
     128                                '<p>' . sprintf( '%1$s <a href="' . admin_url( 'options-general.php' ) . '">%2$s</a> %3$s', __( 'For most themes, the header text is your Site Title and Tagline, as defined in the'), __( 'General Settings' ), __( 'section.' ) ) . '<p>' .
     129                                '<p>' . __( 'In the Header Text section of this page, you can choose whether to display this text or hide it. You can also choose a color for the text by typing in a legitimate HTML hex value (eg: "#ff0000" for red) or by clicking "Select a Color" and dialing in a color using the color picker.') . '</p>' .
     130                                '<p>' . __( 'Don\'t forget to Save Changes when you\'re done!') . '</p>'
     131                ) );
    114132
    115133                get_current_screen()->set_help_sidebar(
    116134                        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .