Changeset 61136 for trunk/src/wp-includes/canonical.php
- Timestamp:
- 11/04/2025 06:29:36 PM (6 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/canonical.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/canonical.php
r60496 r61136 78 78 } 79 79 80 // Notice fixing. 81 $original += array( 82 'host' => '', 83 'path' => '', 84 'query' => '', 85 'scheme' => '', 86 ); 87 80 88 $redirect = $original; 81 89 $redirect_url = false; 82 90 $redirect_obj = false; 83 84 // Notice fixing.85 if ( ! isset( $redirect['path'] ) ) {86 $redirect['path'] = '';87 }88 if ( ! isset( $redirect['query'] ) ) {89 $redirect['query'] = '';90 }91 91 92 92 /* … … 617 617 618 618 // Notice prevention after new parse_url( $redirect_url ) calls 619 if ( ! isset( $redirect['path'] ) ) {620 $redirect['path'] = '';621 }622 if ( ! isset( $redirect['query'] ) ) {623 $redirect['query'] = '';624 }619 $redirect += array( 620 'host' => '', 621 'path' => '', 622 'query' => '', 623 'scheme' => '', 624 ); 625 625 626 626 // Trailing /index.php.
Note: See TracChangeset
for help on using the changeset viewer.