Changeset 8921 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php
- Timestamp:
- 06/05/2019 05:24:31 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php
r8920 r8921 65 65 66 66 // add a trailing slash to /browse/ requests 67 if ( preg_match( '!^/themes/browse/([^/ ]+)$!i', $_SERVER['REQUEST_URI'] ) ) {67 if ( preg_match( '!^/themes/browse/([^/?]+)$!i', $_SERVER['REQUEST_URI'] ) ) { 68 68 $url = trailingslashit( $_SERVER['REQUEST_URI'] ); 69 69 wp_safe_redirect( $url, 301 );
Note: See TracChangeset
for help on using the changeset viewer.