[wp-trac] [WordPress Trac] #20985: Mute errors when calling file_exists in search_theme_directories
WordPress Trac
wp-trac at lists.automattic.com
Tue Jun 26 03:36:46 UTC 2012
#20985: Mute errors when calling file_exists in search_theme_directories
--------------------------+---------------------
Reporter: goldenapples | Owner: nacin
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.4.1
Component: Themes | Version: 3.4
Severity: normal | Resolution: fixed
Keywords: |
--------------------------+---------------------
Changes (by nacin):
* owner: => nacin
* status: new => closed
* resolution: => fixed
Comment:
In [21127]:
{{{
#!CommitTicketReference repository="" revision="21127"
When looking in a sub-directory of wp-content/themes for more themes,
check
if that specific directory exists before looking inside of it for
style.css.
This avoids warnings when open_basedir restrictions are in effect.
props goldenapples. fixes #20985 for 3.4.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20985#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list