WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16410, comment 4


Ignore:
Timestamp:
02/11/2011 03:26:51 AM (11 years ago)
Author:
solarissmoke
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16410, comment 4

    initial v1  
    1 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.
     1Patch updated as per westi's and dd32's comments above. I realised we don't need to check for `'..'` or even `'.svn'` specifically because we were already checking for `$theme_dir[0] == '.'`, just needed to move it in front of the `is_dir` check.