Changeset 61444 for trunk/src/wp-includes/rewrite.php
- Timestamp:
- 01/06/2026 05:55:33 AM (11 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/rewrite.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rewrite.php
r60447 r61444 578 578 // Chop off /path/to/blog. 579 579 $home_path = parse_url( home_url( '/' ) ); 580 $home_path = isset( $home_path['path'] ) ? $home_path['path'] :'';580 $home_path = $home_path['path'] ?? ''; 581 581 $url = preg_replace( sprintf( '#^%s#', preg_quote( $home_path ) ), '', trailingslashit( $url ) ); 582 582 }
Note:
See TracChangeset
for help on using the changeset viewer.