Refactoring
WSS is now exposing a hook to filter the dirs used in its own version of locate_template