Ticket #12283: 12283.4.patch
File 12283.4.patch, 476 bytes (added by , 14 years ago) |
---|
-
theme.php
624 624 if ($stylesheet_or_template) { 625 625 $theme_roots = get_theme_roots(); 626 626 627 if ( $theme_roots[$stylesheet_or_template])627 if ( !empty( $theme_roots[$stylesheet_or_template] ) ) 628 628 $theme_root = WP_CONTENT_DIR . $theme_roots[$stylesheet_or_template]; 629 629 else 630 630 $theme_root = WP_CONTENT_DIR . '/themes';