Underscore folders are not ignored when inside of theme folders because of the way the main regex ignores the _themes folder to allow copying over assets from a theme. This PR adds a new regex for ignoring underscore folders inside of active theme.
This also adds unit tests for the FileExplorer class since I thought I was going to be making changes to it but nope. They're still nice to have.
Check List
[ ] Added appropriate PhpDoc for modifications
[x] Added unit test to ensure fix works as intended
Summary
Description
Underscore folders are not ignored when inside of theme folders because of the way the main regex ignores the
_themes
folder to allow copying over assets from a theme. This PR adds a new regex for ignoring underscore folders inside of active theme.This also adds unit tests for the FileExplorer class since I thought I was going to be making changes to it but nope. They're still nice to have.
Check List