#1370 closed defect (bug) (fixed)
Presentation page crashing when a theme directory is not readable by the web server
Reported by: | neuro | Owned by: | markjaquith |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | critical | Version: | 1.5.1 |
Component: | Administration | Keywords: | bg|has-patch bg|commit |
Focuses: | Cc: |
Description
Theme folder browsing does not care wheter or not the theme directory is readable before reading into it.
This makes th admin page crash as soon as a theme is not readable.
replace line 1517 in functions.php
if (is_dir($theme_root . '/' . $theme_dir)) {
by
if (is_dir($theme_root . '/' . $theme_dir) && is_readable($theme_root . '/' . $theme_dir)) {
Attachments (1)
Note: See
TracTickets for help on using
tickets.
patch for 1.6 SVN