Opened 19 years ago
Closed 19 years ago
#4541 closed defect (bug) (fixed)
Problem in wp-includes/theme.php when used with php in cgi mode and virtual hosting where ABSPATH = '/'
| Reported by: | arabek | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.3 |
| Component: | General | Version: | 2.2.1 |
| Severity: | major | Keywords: | has-patch |
| Cc: | Focuses: |
Description
There is a problem in wp-includes/theme.php when running under php in cgi mode, and virtual hosting that chroots to a directory.
example:
http://www.ps3site.pl/wp-contentthemes/Elite/screenshot.png
should be:
http://www.ps3site.pl/wp-content/themes/Elite/screenshot.png
I've came up with a simple patch that does the trick. Patch attached.
Attachments (1)
Change History (6)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [6099]) Set $theme_loc correctly when ABSPATH is "/". Props arabek. fixes #4541