Ticket #20657: 20657.5.diff
File 20657.5.diff, 1.7 KB (added by , 13 years ago) |
---|
-
wp-admin/custom-header.php
111 111 '<p>' . __( 'This screen is used to customize the header section of your theme.') . '</p>' . 112 112 '<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>' 113 113 ) ); 114 114 115 115 get_current_screen()->add_help_tab( array( 116 116 'id' => 'set-header-image', 117 117 'title' => __('Header Image'), … … 121 121 '<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>' . 122 122 '<p>' . __( 'If you don’t want a header image to be 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>' 123 123 ) ); 124 124 125 125 get_current_screen()->add_help_tab( array( 126 126 'id' => 'set-header-text', 127 127 'title' => __('Header Text'), … … 890 890 'guid' => $url, 891 891 'context' => 'custom-header' 892 892 ); 893 if ( ! empty( $_POST['new-attachment'] ) )893 if ( ! empty( $_POST['new-attachment'] ) && $is_cropped ) 894 894 unset( $object['ID'] ); 895 895 896 896 // Update the attachment