List changes in a WP version.
WP_CLI version of https://developer.wordpress.org/reference/since/<version>.
Must be run on a local install, and will not run against the live DevHub.
$ wp since [<version>] [--change_type=<change_type>] [--post_type=<type>]
[<version>]: the version to list changes for.
Default: the current version.
[--change_type=<change_type>]: type of change to list changes for. One of (any | introduced | modified | deprecated).
Default: any.
[--post_type=<type>]: post_type to list changes for. One of (any | class | method | function | hook).
Default: any.
$ wp since
$ wp since x.y.z
$ wp since x.y.z --change_type=introduced
$ wp since --change_type=modified
$ wp since x.y.z --post_type=hook
$ wp since x.y.z --change_type=deprecated --post_type=function
You can install this plugin by one of two methods:
- install via the zip file
- Unzip the zip file into the
/wp-content/plugins/
directory - Activate the plugin through the 'Plugins' menu in WordPress
- Unzip the zip file into the
- install via GitHub Updater
- Go to Settings > GitHub Updater in the WordPress admin
- Click on the "Install Plugin" tab
- Enter the URL for this repo in the "Plugin URI" field
- Click "Install Plugin"
- Activate this plugin
Regardless of the method used to install this plugin, you must then:
- Activate the phpdoc-parser plugin
- slurp up the current WP sources via:
$ wp parser create
- If you've already slurped the sources before activating this plugin for the 1st time, then the first time you run
$ wp since
it will do a 1-time augmentation of the the data generated by$ wp parser create
.
- If you've already slurped the sources before activating this plugin for the 1st time, then the first time you run
- Once the sources are slurped, you can then deactive phpdoc-parser if you want.
- Whatever the requirements to run the wporg-developer theme and phpdoc-parser plugin are (I'm not sure what they are, I've tested with various 4.8 releases/PHP 5.4 and 4,9.[6|7]/PHP 5.6.36.
- The wporg-developer theme (with the patch in the meta.trac ticket at allow filtering of @since tax archive by the type of change (or it's equivalent) applied) must be active.
- Added 'Deprecated' change_type
- General code cleanup
- Added check that
wporg-developer
, or child theme thereof, is active
- Initial commit
Please let me know by creating a new issue and describe your idea.
Pull Requests are welcome!
If you like this plugin, please support it's continued development by buying me a beer.