WordPress.org

Make WordPress Core

Changeset 13908


Ignore:
Timestamp:
04/01/2010 07:43:04 AM (12 years ago)
Author:
markjaquith
Message:

Fix PHP notice

File:
1 edited

Legend:

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

    r13902 r13908  
    649649    $theme_roots = get_theme_roots();
    650650
    651     if ( $theme_roots[$stylesheet_or_template] )
     651    if ( isset( $theme_roots[$stylesheet_or_template] ) && $theme_roots[$stylesheet_or_template] )
    652652        $theme_root_uri = content_url( $theme_roots[$stylesheet_or_template] );
    653653    else
Note: See TracChangeset for help on using the changeset viewer.