Changeset 61457 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 01/09/2026 04:26:02 AM (8 weeks ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/pluggable.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r61387 r61457 1723 1723 * @param string $host The host name of the redirect destination; empty string if not set. 1724 1724 */ 1725 $allowed_hosts = (array) apply_filters( 'allowed_redirect_hosts', array( $wpp['host'] ), isset( $lp['host'] ) ? $lp['host'] :'' );1725 $allowed_hosts = (array) apply_filters( 'allowed_redirect_hosts', array( $wpp['host'] ), $lp['host'] ?? '' ); 1726 1726 1727 1727 if ( isset( $lp['host'] ) && ( ! in_array( $lp['host'], $allowed_hosts, true ) && strtolower( $wpp['host'] ) !== $lp['host'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.