Remove unused code
Adapt configuration page for WP constants