[wp-trac] [WordPress Trac] #4541: Problem in wp-includes/theme.php
when used
with php in cgi mode and virtual hosting where ABSPATH = '/'
WordPress Trac
wp-trac at lists.automattic.com
Tue Jun 26 12:33:22 GMT 2007
#4541: Problem in wp-includes/theme.php when used with php in cgi mode and virtual
hosting where ABSPATH = '/'
---------------------+------------------------------------------------------
Reporter: arabek | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.2.2
Component: General | Version: 2.2.1
Severity: normal | Keywords: theme, cgi, php, ABSPATH
---------------------+------------------------------------------------------
There is a problem in wp-includes/theme.php when running under php in cgi
mode, and virtual hosting that chroots to a directory.[[BR]]
[[BR]]
example:[[BR]]
http://www.ps3site.pl/wp-contentthemes/Elite/screenshot.png [[BR]]
should be:[[BR]]
http://www.ps3site.pl/wp-content/themes/Elite/screenshot.png [[BR]]
[[BR]]
I've came up with a simple patch that does the trick. Patch attached.
--
Ticket URL: <http://trac.wordpress.org/ticket/4541>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list