Changeset 8935
- Timestamp:
- 06/07/2019 06:54:19 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
r8934 r8935 68 68 69 69 // Ensure all requests are trailingslash'd. 70 if ( $ oath && '/' !== substr( $path, -1 ) ) {70 if ( $path && '/' !== substr( $path, -1 ) ) { 71 71 $url = str_replace( $path, $path . '/', $_SERVER['REQUEST_URI'] ); 72 72 wp_safe_redirect( $url, 301 );
Note: See TracChangeset
for help on using the changeset viewer.