Removed deprecated in wordpress constants