Skip to content

allow WP_Parser\get_wp_files() to follow symlinks #212

Description

@pbiron

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 )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions