Improved swipe
Fixed potential error when pass true to wpdk_is_bool()
Cosmetic
Set the id attribute as name when id is not set