Collect all Composer-managed plugins together #24
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is an idea that may need a little discussion. It shouldn't break anything (I have done a limited test) so it's a matter of whether or not we like the concept.
What's Changed
The change groups all of the website's Composer based plugins together on the filesystem by prefixing each with an underscore as per the screenshot below.
Reasoning
_
will be automatically ignored by Git, allowing all others to be version-controlled without having to manually whitelist them each time.Potential issues
Any plugin developer presuming to know their plugin's directory name and hardcoding it into their PHP will be caught out. To the best of my knowledge WP plugin directory names can be whatever a user wants though.