Fix wordpress directory not being deleted