Ticket #36562: 36562.patch
| File 36562.patch, 2.7 KB (added by , 10 years ago) |
|---|
-
src/wp-includes/customize/class-wp-customize-site-icon-control.php
64 64 <div class="container"> 65 65 <div class="site-icon-preview"> 66 66 <div class="favicon-preview"> 67 <img src="<?php echo esc_url( admin_url( 'images/browser.png' ) ); ?>" class="browser-preview" width="182" alt=" <?php esc_attr_e( 'Browser interface preview' ); ?>" />67 <img src="<?php echo esc_url( admin_url( 'images/browser.png' ) ); ?>" class="browser-preview" width="182" alt="" /> 68 68 69 69 <div class="favicon"> 70 70 <img id="preview-favicon" src="{{ data.attachment.sizes.full.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>"/> 71 71 </div> 72 <span class="browser-title" ><?php bloginfo( 'name' ); ?></span>72 <span class="browser-title" aria-hidden="true"><?php bloginfo( 'name' ); ?></span> 73 73 </div> 74 74 <img class="app-icon-preview" src="{{ data.attachment.sizes.full.url }}" alt="<?php esc_attr_e( 'Preview as an app icon' ); ?>"/> 75 75 </div> -
src/wp-includes/media-template.php
1232 1232 </script> 1233 1233 1234 1234 <script type="text/html" id="tmpl-crop-content"> 1235 <img class="crop-image" src="{{ data.url }}" alt=" ">1235 <img class="crop-image" src="{{ data.url }}" alt="<?php esc_attr_e( 'Image crop area preview. Requires mouse interaction.' ); ?>"> 1236 1236 <div class="upload-errors"></div> 1237 1237 </script> 1238 1238 1239 1239 <script type="text/html" id="tmpl-site-icon-preview"> 1240 1240 <h2><?php _e( 'Preview' ); ?></h2> 1241 <strong ><?php _e( 'As a browser icon' ); ?></strong>1241 <strong aria-hidden="true"><?php _e( 'As a browser icon' ); ?></strong> 1242 1242 <div class="favicon-preview"> 1243 1243 <img src="images/browser.png" class="browser-preview" width="182" height="" alt="" /> 1244 1244 … … 1245 1245 <div class="favicon"> 1246 1246 <img id="preview-favicon" src="{{ data.url }}" alt="<?php esc_attr_e( 'Preview as a browser icon' ); ?>"/> 1247 1247 </div> 1248 <span class="browser-title" ><?php bloginfo( 'name' ); ?></span>1248 <span class="browser-title" aria-hidden="true"><?php bloginfo( 'name' ); ?></span> 1249 1249 </div> 1250 1250 1251 <strong ><?php _e( 'As an app icon' ); ?></strong>1251 <strong aria-hidden="true"><?php _e( 'As an app icon' ); ?></strong> 1252 1252 <div class="app-icon-preview"> 1253 1253 <img id="preview-app-icon" src="{{ data.url }}" alt="<?php esc_attr_e( 'Preview as an app icon' ); ?>"/> 1254 1254 </div>