Ticket #38026: 38026.patch
File 38026.patch, 2.5 KB (added by , 8 years ago) |
---|
-
src/wp-includes/css/media-views.css
1685 1685 display: block; 1686 1686 } 1687 1687 1688 .media-modal .delete-attachment,1689 .media-modal .trash-attachment,1690 1688 .media-modal .untrash-attachment { 1691 1689 display: inline; 1692 1690 padding: 0; 1691 color: #0073aa; 1692 } 1693 1694 .media-modal .untrash-attachment:focus { 1695 color: #124964; 1696 } 1697 1698 .media-modal .untrash-attachment:hover, 1699 .media-modal .untrash-attachment:active { 1700 color: #00a0d2; 1701 } 1702 1703 .media-modal .delete-attachment, 1704 .media-modal .trash-attachment { 1705 display: inline; 1706 padding: 0; 1693 1707 color: #bc0b0b; 1694 1708 } 1695 1709 … … 1696 1710 .media-modal .delete-attachment:hover, 1697 1711 .media-modal .delete-attachment:focus, 1698 1712 .media-modal .trash-attachment:hover, 1699 .media-modal .trash-attachment:focus, 1700 .media-modal .untrash-attachment:hover, 1701 .media-modal .untrash-attachment:focus { 1713 .media-modal .trash-attachment:focus { 1702 1714 color: red; 1703 1715 } 1704 1716 -
src/wp-includes/media-template.php
428 428 <# if ( ! data.uploading && data.can.remove ) { #> | 429 429 <?php if ( MEDIA_TRASH ): ?> 430 430 <# if ( 'trash' === data.status ) { #> 431 <button type="button" class="button-link untrash-attachment"><?php _e( 'Untrash' ); ?></button> 431 <button type="button" class="button-link untrash-attachment"><?php _e( 'Untrash' ); ?></button> | 432 <button type="button" class="button-link delete-attachment"><?php _e( 'Delete Permanently' ); ?></button> 432 433 <# } else { #> 433 434 <button type="button" class="button-link trash-attachment"><?php _ex( 'Trash', 'verb' ); ?></button> 434 435 <# } #> … … 529 530 <# if ( ! data.uploading && data.can.remove ) { #> 530 531 <?php if ( MEDIA_TRASH ): ?> 531 532 <# if ( 'trash' === data.status ) { #> 532 <button type="button" class="button-link untrash-attachment"><?php _e( 'Untrash' ); ?></button> 533 <button type="button" class="button-link untrash-attachment"><?php _e( 'Untrash' ); ?></button> | 534 <button type="button" class="button-link delete-attachment"><?php _e( 'Delete Permanently' ); ?></button> 533 535 <# } else { #> 534 536 <button type="button" class="button-link trash-attachment"><?php _ex( 'Trash', 'verb' ); ?></button> 535 537 <# } #>