Last Updated: 12th Jul 2017
WPTavern: VersionPress 4.0 Beta Adds User-Editable Location for Plugin Definitions
VersionPress 4.0 beta is available for testing. It includes a number of improvements, most notably, the ability to load plugin definitions from a user-defined location within the wp-content directory.
Plugin definitions are files used to understand data, actions, shortcodes, and other things plugins do in order to automatically provide version control for them.
According to Borek Bernard, co-founder of VersionPress:
If you create a folder WP_CONTENT_DIR/.versionpress/plugins/woocommerce and put definition files like schema.yml or actions.yml there, VersionPress will use and actually prefer it over the bundled definitions if they exist.
User Defined Location of Plugin Definition File
Support for WooCommerce and Jetpack are included in 4.0 Beta 1. VersionPress will automatically detect the definition file as long as each plugin has aÂ .versionpress folder in it.
With the release of 4.0 Beta, Bernard says a repository containing plugin definitions is next on the list and is encouraging plugin authors to contribute to the project.
â€śThe final step is to have an online repository of the definitions,â€ť Bernard said. â€śIt will be open to anyone to contribute, not just plugin authors, and used by VersionPress transparently.â€ť
Developers and users can download 4.0 Beta from GitHub. Users are encouraged to test the plugin in a staging environment as itâ€™s not ready to be used on live sites. If you encounter an error, you can report it by creating a new Issue request on the projectâ€™s GitHub page.