Taxonomy: Add a "delete" button on term edit page.

Add a 'delete' link next to the update button on the term edit screen so you can delete a term while you are reviewing it's details. 

Props cklosows, bradt, ocean90, johnbillion, DrewAPicture, ryan, MatheusGimenez, maguiar.
Fixes #9777.



git-svn-id: https://develop.svn.wordpress.org/trunk@40655 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Adam Silverstein
2017-05-12 19:25:43 +00:00
parent 89ef4c2123
commit c21b828581
6 changed files with 58 additions and 6 deletions
+15 -2
View File
@@ -874,7 +874,8 @@ hr {
.submitbox .submitdelete,
#media-items a.delete,
#media-items a.delete-permanently,
#nav-menu-footer .menu-delete {
#nav-menu-footer .menu-delete,
#delete-link a.delete {
color: #a00;
}
@@ -890,7 +891,8 @@ span.required,
.submitbox .submitdelete:hover,
#media-items a.delete:hover,
#media-items a.delete-permanently:hover,
#nav-menu-footer .menu-delete:hover {
#nav-menu-footer .menu-delete:hover,
#delete-link a.delete:hover {
color: #dc3232;
border: none;
}
@@ -911,6 +913,17 @@ span.required,
line-height: 28px;
}
#delete-link {
line-height: 28px;
vertical-align: middle;
text-align: left;
margin-left: 8px;
}
#delete-link a {
text-decoration: none;
}
#publishing-action {
text-align: right;
float: right;
+15
View File
@@ -1092,6 +1092,17 @@ p.popular-tags a {
text-decoration: underline;
}
#edittag {
max-width: 800px;
}
.edit-tag-actions {
margin-top: 20px;
overflow: hidden;
padding: 10px;
margin-right: 10px;
}
/* Comments */
.comment-php .wp-editor-area {
@@ -1348,6 +1359,10 @@ table.links-table {
}
@media screen and ( max-width: 782px ) {
.wp-core-ui .edit-tag-actions .button-primary {
margin-bottom: 0;
}
#post-body-content {
min-width: 0;
}