Changeset 10488
- Timestamp:
- 12/04/2020 02:33:26 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/mu-plugins/pub/wporg-redirects.php
r10487 r10488 135 135 136 136 // Determine URL, save a redirect and check the canonical too. 137 $url = home_url( $new_path );137 $url = home_url( $new_path ?: '/' ); 138 138 if ( $canonical_url = redirect_canonical( $url, false ) ) { 139 139 $url = $canonical_url;
Note: See TracChangeset
for help on using the changeset viewer.