WordPress.org

Make WordPress Core

Changeset 13225


Ignore:
Timestamp:
02/19/2010 03:04:46 PM (8 years ago)
Author:
nacin
Message:

Fix potential notice. props hakre, see #12283

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/theme.php

    r13202 r13225  
    625625        $theme_roots = get_theme_roots();
    626626
    627         if ( $theme_roots[$stylesheet_or_template] )
     627        if ( ! empty( $theme_roots[$stylesheet_or_template] ) )
    628628            $theme_root = WP_CONTENT_DIR . $theme_roots[$stylesheet_or_template];
    629629        else
Note: See TracChangeset for help on using the changeset viewer.