Core Plugin Files
This document explains how to update the WP Bones framework using the php bones update
command, which executes a composer update
along with other tasks. It highlights that only the framework is updated, not your plugin. The document provides an overview of the core plugin files included in the WP Bones boilerplate, noting that these files may undergo changes. It advises checking for updates to these files if you have a plugin created with an earlier version of WP Bones.
Overview
You can update the WP Bones framework by using the bones command:
php bones update
Under the hood, the bones command will execute a composer update
along with other tasks.
Of course, you are updating just the framework, not your plugin.
In this section, you will find the latest versions of the files included in the WP Bones boilerplate. These files may undergo changes, including breaking changes.
So, if you have a plugin created with an earlier version of WP Bones, you can check here which files have changed in the latest versions. You can then copy and update these files in your plugin.
- plugin.php
main plugin config
- composer.json
used by composer
- gulpfile.js
script used by Gulp
- package.json
used by npm