Update plugin to add twig functions in the way Timber 2 expects #11
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.
PR title is pretty self-explanatory, but this plugin isn't compatible with Timber 2. It adds a custom Twig function in the way Timber 1 expects. This update migrates to adding this function in the way Timber 2 expects.
A couple of notes:
dev-master
. As far as I can tell, that's only the AWB site (which sparked this update since it's being update to Timber 2) and Metro Parks. I've opened a PR to update MP's ompiser file to explicitly use v1.0 of the plugin.