You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
Brands API Version defaults to V2 (Recommended). Multi-vertical brand fields (classificationTypes, sportsbook, poker, sweeps-coins, and unified offers) are now active by default via BrandsApiUrlBuilder::effectiveBase(). The setting dynamically routes brand sync calls to /api/v2/brands while keeping Toplists anchored on /api/v1/toplists, with full backward-compatibility fallback to V1 (Legacy). A site that already saved this setting keeps the version it chose; only a site that never saved it moves to V2.
Database Contract & Custom Downstream Consumers Verified: Re-confirmed that the wp_dataflair_brands database table contract (including api_brand_id and verbatim JSON in the data column with externalId) remains fully stable for downstream custom sync consumers.
Tests
Full automated Chrome integration suite run against all 8 SiGMA tenant findings (Settings V2 toggle, brand search for bc.g, casino editor brand name mapping, 0-duplicate toplist selector, mutually exclusive operating/restricted geo lists, and brand/toplist sync).
PHPUnit unit and integration test suite: 969 tests, 3131 assertions, all green. The two changed test files also pass when run on their own.