Ticket #12283: 12283.patch
| File 12283.patch, 635 bytes (added by , 16 years ago) |
|---|
-
wordpress/wp-includes/theme.php
### Eclipse Workspace Patch 1.0 #P wordpress-tests
624 624 if ($stylesheet_or_template) { 625 625 $theme_roots = get_theme_roots(); 626 626 627 if ( $theme_roots[$stylesheet_or_template] )627 if ( isset( $theme_roots[$stylesheet_or_template] ) && $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';