Making WordPress.org

Changeset 9322


Ignore:
Timestamp:
12/11/2019 02:11:43 AM (7 years ago)
Author:
dd32
Message:

Theme Directory: Remove the is_search() limiter so /themes/TWentyTWenty/ redirects to /themes/twentytwenty/ yet again.

See #4364.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php

    r9272 r9322  
    6868                $path &&
    6969                $path !== strtolower( $path ) &&
    70                 ( is_search() && trailingslashit( $path ) !== '/themes/search/' . get_query_var( 's' ) . '/' )
     70                ( trailingslashit( $path ) !== '/themes/search/' . get_query_var( 's' ) . '/' )
    7171        ) {
    7272                $url = preg_replace(
Note: See TracChangeset for help on using the changeset viewer.