dxw / whippet-theme-template

This repo holds the template for a Whippet-enabled theme.
2 stars 1 forks source link

Optional plugin dependency check #61

Closed robbiepaul closed 7 years ago

robbiepaul commented 7 years ago

Some of our themes have a dependency on one or more plugins. Most of the time it isn't documented anywhere and can cause confusion when new developers pick up the project.

This commit adds a plugin dependency check where developers can define the plugins required to run the theme in di.php

The checks will be ran when the theme is activated and any plugins that are required and not active will have a 'warning' message displayed.

robbiepaul commented 7 years ago

Thanks @dgmstuart it's ready for another look when you get a chance

dgmstuart commented 7 years ago

@robbiepaul your last commit looks good. Will merge.