[wp-trac] [WordPress Trac] #20919: Live Preview post-installation fails with multiple theme directories
WordPress Trac
wp-trac at lists.automattic.com
Tue Jun 12 12:05:03 UTC 2012
#20919: Live Preview post-installation fails with multiple theme directories
--------------------------+------------------------------
Reporter: duck_ | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 3.4
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by duck_):
This code in wp_get_theme() is a little strange:
{{{
if ( false === $theme_root )
$theme_root = WP_CONTENT_DIR . $theme_root;
}}}
concatenating false onto a string doesn't look right. Should this be
defaulting to: `WP_CONTENT_DIR . '/themes'`?
Doing this would also stop the error message in the description if the
theme is installed into the default directory.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20919#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list