Changeset 35427
- Timestamp:
- 10/28/2015 11:07:08 PM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/media.css
r34011 r35427 501 501 } 502 502 503 .upload-php .mode-grid .media-sidebar .media-uploader-status.errors h3 { 503 .upload-php .mode-grid .media-sidebar .media-uploader-status.errors h3, /* Back-compat for pre-4.4 */ 504 .upload-php .mode-grid .media-sidebar .media-uploader-status.errors h2 { 504 505 display: none; 505 506 } … … 1018 1019 } 1019 1020 1020 #poststuff .imgedit-group-top h3 { 1021 #poststuff .imgedit-group-top h3, /* Back-compat for pre-4.4 */ 1022 #poststuff .imgedit-group-top h2 { 1023 margin: 0; 1021 1024 padding: 0; 1022 } 1023 1024 .imgedit-group-top h3 a { 1025 font-size: 14px; 1026 line-height: 1.4; 1027 } 1028 1029 .imgedit-group-top h3 a, /* Back-compat for pre-4.4 */ 1030 .imgedit-group-top h2 a { 1025 1031 text-decoration: none; 1026 1032 } -
trunk/src/wp-admin/includes/image-edit.php
r34234 r35427 47 47 <div class="imgedit-group"> 48 48 <div class="imgedit-group-top"> 49 <h 3><?php _e( 'Scale Image' ); ?> <a href="#" class="dashicons dashicons-editor-help imgedit-help-toggle" onclick="imageEdit.toggleHelp(this);return false;"></a></h3>49 <h2><?php _e( 'Scale Image' ); ?> <a href="#" class="dashicons dashicons-editor-help imgedit-help-toggle" onclick="imageEdit.toggleHelp(this);return false;"></a></h2> 50 50 <div class="imgedit-help"> 51 51 <p><?php _e('You can proportionally scale the original image. For best results, scaling should be done before you crop, flip, or rotate. Images can only be scaled down, not up.'); ?></p> … … 66 66 <div class="imgedit-group"> 67 67 <div class="imgedit-group-top"> 68 <h 3><a onclick="imageEdit.toggleHelp(this);return false;" href="#"><?php _e('Restore Original Image'); ?> <span class="dashicons dashicons-arrow-down imgedit-help-toggle"></span></a></h3>68 <h2><a onclick="imageEdit.toggleHelp(this);return false;" href="#"><?php _e('Restore Original Image'); ?> <span class="dashicons dashicons-arrow-down imgedit-help-toggle"></span></a></h2> 69 69 <div class="imgedit-help"> 70 70 <p><?php _e('Discard any changes and restore the original image.'); … … 85 85 <div class="imgedit-group"> 86 86 <div class="imgedit-group-top"> 87 <h 3><?php _e('Image Crop'); ?> <a href="#" class="dashicons dashicons-editor-help imgedit-help-toggle" onclick="imageEdit.toggleHelp(this);return false;"></a></h3>87 <h2><?php _e( 'Image Crop' ); ?> <a href="#" class="dashicons dashicons-editor-help imgedit-help-toggle" onclick="imageEdit.toggleHelp(this);return false;"></a></h2> 88 88 89 89 <div class="imgedit-help"> … … 123 123 <div class="imgedit-group imgedit-applyto"> 124 124 <div class="imgedit-group-top"> 125 <h 3><?php _e('Thumbnail Settings'); ?> <a href="#" class="dashicons dashicons-editor-help imgedit-help-toggle" onclick="imageEdit.toggleHelp(this);return false;"></a></h3>125 <h2><?php _e( 'Thumbnail Settings' ); ?> <a href="#" class="dashicons dashicons-editor-help imgedit-help-toggle" onclick="imageEdit.toggleHelp(this);return false;"></a></h2> 126 126 <p class="imgedit-help"><?php _e('You can edit the image while preserving the thumbnail. For example, you may wish to have a square thumbnail that displays just a section of the image.'); ?></p> 127 127 </div> -
trunk/src/wp-includes/css/media-views.css
r35330 r35427 299 299 } 300 300 301 .media-sidebar h3, 302 .image-details h3 { 301 .media-sidebar h3, /* Back-compat for pre-4.4 */ 302 .image-details h3, /* Back-compat for pre-4.4 */ 303 .media-sidebar h2, 304 .image-details h2 { 303 305 position: relative; 304 306 font-weight: bold; … … 1176 1178 } 1177 1179 1178 .uploader-inline .media-uploader-status h3 { 1180 .uploader-inline .media-uploader-status h3, /* Back-compat for pre-4.4 */ 1181 .uploader-inline .media-uploader-status h2 { 1179 1182 display: none; 1180 1183 } … … 1267 1270 } 1268 1271 1269 .uploader-window h3 { 1272 .uploader-window h3, /* Back-compat for pre-4.4 */ 1273 .uploader-window h1 { 1270 1274 margin: -0.5em 0 0; 1271 1275 position: absolute; … … 1322 1326 } 1323 1327 1324 .uploader-inline h3 { 1328 .uploader-inline h3, /* Back-compat for pre-4.4 */ 1329 .uploader-inline h2 { 1325 1330 font-size: 20px; 1326 1331 line-height: 28px; … … 1741 1746 } 1742 1747 1743 .media-modal .imgedit-group-top h3 { 1748 .media-modal .imgedit-group-top h3, /* Back-compat for pre-4.4 */ 1749 .media-modal .imgedit-group-top h2 { 1744 1750 text-transform: uppercase; 1745 1751 font-size: 12px; … … 1749 1755 } 1750 1756 1751 .media-modal .imgedit-group-top h3 a { 1757 .media-modal .imgedit-group-top h3 a, /* Back-compat for pre-4.4 */ 1758 .media-modal .imgedit-group-top h2 a { 1752 1759 text-decoration: none; 1753 1760 color: #666; … … 1879 1886 } 1880 1887 1881 .image-details .column-settings h3 { 1888 .image-details .column-settings h3, /* Back-compat for pre-4.4 */ 1889 .image-details .column-settings h2 { 1882 1890 margin: 20px; 1883 1891 padding-top: 20px; 1884 1892 border-top: 1px solid #ddd; 1893 color: #23282d; 1885 1894 } 1886 1895 -
trunk/src/wp-includes/media-template.php
r35341 r35427 172 172 <script type="text/html" id="tmpl-uploader-window"> 173 173 <div class="uploader-window-content"> 174 <h 3><?php _e( 'Drop files to upload' ); ?></h3>174 <h1><?php _e( 'Drop files to upload' ); ?></h1> 175 175 </div> 176 176 </script> … … 189 189 <div class="uploader-inline-content {{ messageClass }}"> 190 190 <# if ( data.message ) { #> 191 <h 3 class="upload-message">{{ data.message }}</h3>191 <h2 class="upload-message">{{ data.message }}</h2> 192 192 <# } #> 193 <?php if ( ! _device_can_upload() ) : ?> 194 <h 3 class="upload-instructions"><?php printf( __('The web browser on your device cannot be used to upload files. You may be able to use the <a href="%s">native app for your device</a> instead.'), 'https://apps.wordpress.org/' ); ?></h3>195 <?php elseif ( is_multisite() && ! is_upload_space_available() ) : ?>196 <h 3 class="upload-instructions"><?php _e( 'Upload Limit Exceeded' ); ?></h3>193 194 <h2 class="upload-instructions"><?php printf( __( 'The web browser on your device cannot be used to upload files. You may be able to use the <a href="%s">native app for your device</a> instead.' ), 'https://apps.wordpress.org/' ); ?></h2> 195 <?php if ( is_multisite() && ! is_upload_space_available() ) : ?> 196 <h2 class="upload-instructions"><?php _e( 'Upload Limit Exceeded' ); ?></h2> 197 197 <?php 198 198 /** This action is documented in wp-admin/includes/media.php */ … … 201 201 <?php else : ?> 202 202 <div class="upload-ui"> 203 <h 3 class="upload-instructions drop-instructions"><?php _e( 'Drop files anywhere to upload' ); ?></h3>203 <h2 class="upload-instructions drop-instructions"><?php _e( 'Drop files anywhere to upload' ); ?></h2> 204 204 <p class="upload-instructions drop-instructions"><?php _ex( 'or', 'Uploader: Drop files here - or - Select Files' ); ?></p> 205 205 <button type="button" class="browser button button-hero"><?php _e( 'Select Files' ); ?></button> … … 258 258 259 259 <script type="text/html" id="tmpl-uploader-status"> 260 <h 3><?php _e( 'Uploading' ); ?></h3>260 <h2><?php _e( 'Uploading' ); ?></h2> 261 261 <button type="button" class="button-link upload-dismiss-errors"><span class="screen-reader-text"><?php _e( 'Dismiss Errors' ); ?></span></button> 262 262 … … 491 491 492 492 <script type="text/html" id="tmpl-attachment-details"> 493 <h3> 494 <?php _e('Attachment Details'); ?> 495 493 <h2> 494 <?php _e( 'Attachment Details' ); ?> 496 495 <span class="settings-save-status"> 497 496 <span class="spinner"></span> 498 497 <span class="saved"><?php esc_html_e('Saved.'); ?></span> 499 498 </span> 500 </h 3>499 </h2> 501 500 <div class="attachment-info"> 502 501 <div class="thumbnail thumbnail-{{ data.type }}"> … … 600 599 601 600 <script type="text/html" id="tmpl-attachment-display-settings"> 602 <h 3><?php _e('Attachment Display Settings'); ?></h3>601 <h2><?php _e( 'Attachment Display Settings' ); ?></h2> 603 602 604 603 <# if ( 'image' === data.type ) { #> … … 707 706 708 707 <script type="text/html" id="tmpl-gallery-settings"> 709 <h 3><?php _e('Gallery Settings'); ?></h3>708 <h2><?php _e( 'Gallery Settings' ); ?></h2> 710 709 711 710 <label class="setting"> … … 777 776 778 777 <script type="text/html" id="tmpl-playlist-settings"> 779 <h 3><?php _e( 'Playlist Settings' ); ?></h3>778 <h2><?php _e( 'Playlist Settings' ); ?></h2> 780 779 781 780 <# var emptyModel = _.isEmpty( data.model ), … … 904 903 </label> 905 904 906 <h 3><?php _e( 'Display Settings' ); ?></h3>905 <h2><?php _e( 'Display Settings' ); ?></h2> 907 906 <div class="setting align"> 908 907 <span><?php _e('Align'); ?></span> … … 986 985 </div> 987 986 <div class="advanced-section"> 988 <h 3><button type="button" class="button-link advanced-toggle"><?php _e( 'Advanced Options' ); ?></button></h3>987 <h2><button type="button" class="button-link advanced-toggle"><?php _e( 'Advanced Options' ); ?></button></h2> 989 988 <div class="advanced-settings hidden"> 990 989 <div class="advanced-image">
Note: See TracChangeset
for help on using the changeset viewer.