Remove post type from post nonces. Fixes attachment deletion when EMPTY_TRASH_DAYS is 0. Props c3mdigital, kurtpayne, SergeyBiryukov. fixes #21194

git-svn-id: http://core.svn.wordpress.org/trunk@21504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ryan Boren
2012-08-14 18:39:15 +00:00
parent 4d014c4f40
commit 15dd7f70b0
9 changed files with 25 additions and 21 deletions

View File

@@ -516,7 +516,8 @@ div.dashboard-widget-submit input:hover,
}
.submitbox .submitdelete:hover,
#media-items a.delete:hover {
#media-items a.delete:hover,
#media-items a.delete-permanently:hover {
color: #fff;
background-color: #f00;
border-bottom-color: #f00;
@@ -607,6 +608,7 @@ a,
#the-comment-list p.comment-author strong a,
#media-upload a.del-link,
#media-items a.delete,
#media-items a.delete-permanently,
.plugins a.delete,
.ui-tabs-nav a {
color: #21759b;

View File

@@ -507,7 +507,8 @@ div.dashboard-widget-submit input:hover,
}
.submitbox .submitdelete:hover,
#media-items a.delete:hover {
#media-items a.delete:hover,
#media-items a.delete-permanently:hover {
color: #fff;
background-color: #f00;
border-bottom-color: #f00;
@@ -598,6 +599,7 @@ a,
#the-comment-list p.comment-author strong a,
#media-upload a.del-link,
#media-items a.delete,
#media-items a.delete-permanently,
.plugins a.delete,
.ui-tabs-nav a {
color: #21759b;