WordPress.org

Make WordPress Core

Ticket #28662: 28662.diff

File 28662.diff, 358 bytes (added by obenland, 6 years ago)
  • src/wp-includes/theme.php

     
    374374                        return false;
    375375        }
    376376
    377         $wp_theme_directories[] = $directory;
     377        $wp_theme_directories[] = untrailingslashit( $directory );
    378378
    379379        return true;
    380380}