WP-2879 Added validation of url args for edit and delete