Ticket #113 (closed defect: fixed)
Paths to theme files missing "/" in plog-functions.php
| Reported by: | mwaldtha@… | Owned by: | mike |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0 |
| Component: | General | Version: | 1.0b3 |
| Severity: | major | Keywords: | |
| Cc: |
Description
I grabbed the beta 3 files from svn.plogger.org/plogger/trunk on Jan. 17th and I found that the plogger_display_comments, plogger_get_header, and plogger_get_footer functions in plog-functions.php are generating an incorrect path to find their respective theme files. For example, all three functions have code similar to this:
if (file_exists(THEME_DIR . 'comments.php')) {
include(THEME_DIR . 'comments.php');
} else ...
For the correct theme file to be found a "/" needs to be added in front of the file name (comments.php in this case), like this:
if (file_exists(THEME_DIR . '/comments.php')) {
include(THEME_DIR . '/comments.php');
} else ...
Change History
Note: See
TracTickets for help on using
tickets.
