+44 0330 223 3428
Call Us
+44 0330 223 3428

WPTavern: VersionPress 4.0 Beta Adds User-Editable Location for Plugin Definitions

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.”

For insight on how to create definitions, developers can look at WordPress core and WooCommerce for real-world examples.

Other major changes include full support for WordPress 4.7 and 4.8, adoption of GitHub projects to help manage the development process, and a number of bugs fixed.

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.



Source: WordPress

Related Post
Matt: On React and WordPress

Matt: On React and WordPress Big companies like to bury unpleasant news on Fridays: A few weeks ago, Facebook announced they have decided to dig in on their patent clause addition to the React license, even after Apache had said it’s no longer allowed for Apache.org projects. In their words, removing the patent clause would […]

Read more
WPTavern: First WordCamp Dublin Set for October 14-15

WPTavern: First WordCamp Dublin Set for October 14-15 photo credit: Ireland.com Following up on the success of WordCamp Belfast last October, the WordPress community in Dublin will be hosting its first WordCamp October 14-15. Both camps began the early stages of planning last year and the two communities have shared some of the same organizers […]

Read more
WPTavern: GitHub Partners with Facebook to Release Atom-IDE

WPTavern: GitHub Partners with Facebook to Release Atom-IDE GitHub announced the launch of Atom-IDE this week, a new set of packages that extend its open source JavaScript-powered code editor to include IDE-like functionality. This first release includes packages that support TypeScript, Flow, JavaScript, Java, C#, and PHP. “The start of this journey includes smarter context-aware […]

Read more