DEV: Support setting deprecated site settings via the API (PR #12172)

GitHub