[wp-trac] [WordPress Trac] #16410: Open basedir problem in /wp-includes/theme.php

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 10 13:43:41 UTC 2011


#16410: Open basedir problem in /wp-includes/theme.php
--------------------------+-----------------------------
 Reporter:  webraket      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Themes        |     Version:  3.0.4
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------------
Changes (by solarissmoke):

 * keywords:  needs-patch => has-patch


Comment:

 Patch updated as per westi's and dd32's comments above. I realised we
 don't need to check for `'..'` specifically because we were already
 checking for `$theme_dir[0] == '.'`, just needed to move it in front of
 the `is_dir` check.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16410#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list