WordPress.org

Make WordPress Core

Ticket #43228: 43228.diff

File 43228.diff, 340 bytes (added by johnbillion, 3 years ago)
  • src/wp-includes/theme.php

    diff --git src/wp-includes/theme.php src/wp-includes/theme.php
    index 406fa4a310..b86b5f1611 100644
    function register_theme_directory( $directory ) { 
    410410                $wp_theme_directories[] = $untrailed;
    411411        }
    412412
     413        delete_site_transient( 'theme_roots' );
     414
    413415        return true;
    414416}
    415417