[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:05 UTC 2012
#20985: Mute errors when calling file_exists in search_theme_directories
--------------------------+--------------------
Reporter: goldenapples | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.4.1
Component: Themes | Version: 3.4
Severity: normal | Resolution:
Keywords: |
--------------------------+--------------------
Comment (by nacin):
In [21126]:
{{{
#!CommitTicketReference repository="" revision="21126"
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. see #20985 for trunk.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20985#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list