When MEDIA_TRASH is true, show the proper context in the attachment-details sidebar. Without this fix, it always showed "Delete Permanently."

Props toszcze.
Fixes #26783.



git-svn-id: https://develop.svn.wordpress.org/trunk@27454 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2014-03-07 16:41:49 +00:00
parent 69cf45e4dd
commit a8bc73c543
3 changed files with 22 additions and 4 deletions

View File

@@ -1388,7 +1388,8 @@
.attachment-info .edit-attachment,
.attachment-info .refresh-attachment,
.attachment-info .delete-attachment {
.attachment-info .delete-attachment,
.attachment-info .trash-attachment {
display: block;
text-decoration: none;
white-space: nowrap;
@@ -1404,11 +1405,13 @@
display: block;
}
.attachment-info .delete-attachment {
.attachment-info .delete-attachment,
.attachment-info .trash-attachment {
color: #bc0b0b;
}
.attachment-info .delete-attachment:hover {
.attachment-info .delete-attachment:hover,
.attachment-info .trash-attachment:hover {
color: red;
}