Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow WP_Parser\get_wp_files() to follow symlinks #212

Open
pbiron opened this issue Feb 26, 2019 · 1 comment
Open

allow WP_Parser\get_wp_files() to follow symlinks #212

pbiron opened this issue Feb 26, 2019 · 1 comment

Comments

@pbiron
Copy link

pbiron commented Feb 26, 2019

For those of us using this plugin outside of the .org Code Reference, it would be really helpful if WP_Parser\get_wp_files() could follow symlinks it encounters while recursing the directory structure.

All that would be necessary to enable this would be to instantiate the RecursiveDirectoryIterator with:

new \RecursiveDirectoryIterator( $directory, \FilesystemIterator::FOLLOW_SYMLINKS )

instead of the current:

new \RecursiveDirectoryIterator( $directory )
@pbiron
Copy link
Author

pbiron commented Feb 26, 2019

I can do a PR, but I think that #208 should be merged first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant