add test delete complete
add test delete complete
add delete permalink condition before trash