Ticket #54168: 54168.2.diff
File 54168.2.diff, 1.3 KB (added by , 3 years ago) |
---|
-
src/wp-admin/includes/media.php
2246 2246 <div class="drag-drop-inside"> 2247 2247 <p class="drag-drop-info"><?php _e( 'Drop files to upload' ); ?></p> 2248 2248 <p><?php _ex( 'or', 'Uploader: Drop files here - or - Select Files' ); ?></p> 2249 <p class="drag-drop-buttons">< input id="plupload-browse-button" type="button" value="<?php esc_attr_e( 'Select Files' ); ?>" class="button" /></p>2249 <p class="drag-drop-buttons"><label for="plupload-browse-button" class="button button-hero"><?php esc_attr_e( 'Select Files' ); ?></label><input id="plupload-browse-button" type="file" class="screen-reader-text" /></p> 2250 2250 </div> 2251 2251 </div> 2252 2252 <?php -
src/wp-includes/css/buttons.css
133 133 color: #0a4b78; 134 134 } 135 135 136 /* Support focus state on label designed as button in media uploader. */ 137 .drag-drop-inside p.drag-drop-buttons:focus-within label.button, 136 138 .wp-core-ui .button.focus, 137 139 .wp-core-ui .button:focus, 138 140 .wp-core-ui .button-secondary:focus {