Changeset 58097 for trunk/tests/phpunit/tests/functions/referer.php
- Timestamp:
- 05/04/2024 07:23:31 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions/referer.php
r56971 r58097 32 32 33 33 public function filter_allowed_redirect_hosts( $hosts ) { 34 $hosts[] = 'another.' . WP_TESTS_DOMAIN; 34 // Make sure we're only using the hostname and not anything else that might be in the WP_TESTS_DOMAIN. 35 $parsed = parse_url( 'http://' . WP_TESTS_DOMAIN ); 36 $hosts[] = 'another.' . $parsed['host']; 35 37 36 38 return $hosts;
Note: See TracChangeset
for help on using the changeset viewer.