Ticket #10467: parent_theme_root.patch
File parent_theme_root.patch, 431 bytes (added by , 16 years ago) |
---|
-
wp-includes/theme.php
348 348 } 349 349 350 350 $template = trim($template); 351 $theme_root = apply_filters( 'parent_theme_root_' . $template, $theme_root ); 351 352 352 353 if ( !file_exists("$theme_root/$template/index.php") ) { 353 354 $parent_dir = dirname(dirname($theme_file));