Automattic / WPCOM-Legacy-Redirector

WordPress plugin for handling large volumes of legacy redirects in a scalable manner.
20 stars 16 forks source link

Tests: Add more find-domains functional tests #121

Closed GaryJones closed 1 year ago

GaryJones commented 1 year ago

The FeatureContext Given step adds some PHP code to a file and saves this as an mu-plugin (one per host) to allow the host to be in the allowed_redirect_hosts WordPress filter, which allows the redirect to be validated. Props to @swissspidy for the idea.

It also improves the plurals grammar around finding a singular outbound domain.