Changeset 9818 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php
- Timestamp:
- 05/04/2020 02:23:37 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php
r9761 r9818 87 87 88 88 // Ensure all requests are trailingslash'd. 89 if ( $path && '/' !== substr( $path, -1 ) ) {89 if ( $path && '/' !== substr( $path, -1 ) && '.xml' !== substr( $path, -4 ) ) { 90 90 $url = str_replace( $path, $path . '/', $_SERVER['REQUEST_URI'] ); 91 91 wp_safe_redirect( $url, 301 );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)