Skip to content

Releases: WPBP/WordPress-Plugin-Boilerplate-Powered

3.2.1

18 Jun 10:18
Compare
Choose a tag to compare
  • Enhancement: On .env file some parameters are better with apostrophes
  • Enhancement: Settings now support better the new improvements to WordPress Visual changes of last releases
  • Enhancement: New PHPStan exceptions added
  • Fix: ImpExp class wasn't possible to change the file name exported by generator
  • Fix: Bubble notification is now removed by the generator

Check major version releases for the major changes https://github.com/WPBP/WordPress-Plugin-Boilerplate-Powered/releases/tag/3.2.0

3.2.0

11 Jun 13:53
Compare
Choose a tag to compare

PSR-4 support

This migration forced the project to change all the file naming rules to follow the PSR-4 standard and also a custom way to initialize the classes.
In previous version was required to change manually the https://github.com/WPBP/WordPress-Plugin-Boilerplate-Powered/blob/master/plugin-name/engine/Initialize.php to define the class to load by case (admin/frontend/cli/etc), instead now use the composer autoload to load them if the autoload was optimized (composer dumpautoload -o) otherwise does a scan of the directories to autoload them.

Sadly PHP compared to other languages doesn't scan the folders on his own but require a hand to achieve it.
This system is easy to expand as because auto scan also subdirectories so based on the needs you can create all the folders as namespace that you need.

Why not a src folder?

Honestly as WP plugin based on our needs and feedback there wasn't this need because the basic folders are already defined, anyway as this is a boilerplate it is possible to change and altering as you wish (or start a discussion to implement it).

Wiki

We are keep improving the wiki https://wpbp.github.io/wiki.html with new stuff but we are opened to any new idea or suggestion -> https://github.com/WPBP/wpbp.github.io

Generator

There will be as usual a new version of the generator (https://github.com/WPBP/generator) aligned with the new version.

Freemius-suite

This set of Bash scripts integrates in his workflow the support for this boilerplate to generate and upload the various plugin version -> https://github.com/CodeAtCode/freemius-suite

Changelog

  • Enhancement: Added micropackage/requirements
  • Enhancement: Added yahnis-elsts/plugin-update-checker
  • Enhancement: Improved code style with WPCS
  • Enhancement: Updated example pot files with new folder to exclude
  • Enhancement: PSR-4 support with file and class renaming
  • Enhancement: PHPStan support improved
  • Enhancement: Code optimized with PHPStan help
  • Enhancement: New Initialize class to avoid static class list
  • Removed: mte90/wp-contextual-help
  • Removed: CoffeeScript support
  • Replace: wordpress-admin-notices and WP-Dismissable-Notice-Handler with wpdesk/wp-notice

3.1.2

29 Aug 12:40
Compare
Choose a tag to compare
  • Enhancement: Added Seravo/wp-custom-bulk-actions
  • Enhancement: Removed Activity widget support because Extended-Cpts integrated

3.1.1

28 May 14:24
Compare
Choose a tag to compare
  • Fixed 2 placeholders
  • Use if for the generation instead of unless

3.1.0

10 May 15:14
Compare
Choose a tag to compare

A new major release with:

  • Added support for phpstan (it is not complete)
  • Scanned the boilerplate with phpstan and fixed some docs issues
  • Improved the Pn_Is class methods
  • Bumped version of few libraries
  • Added phpdoc and phpstan to grumphp

3.0.3

11 Mar 14:50
Compare
Choose a tag to compare
  • fixed isse on generation when the library debug is not chosen

3.0.2

25 Feb 11:00
Compare
Choose a tag to compare
  • Removed reference to a library for CMB not used anymore
  • Added index.php files in folder where was missing
  • Replace all the reference of CMB2 to the new repo

3.0.1

22 Feb 12:41
Compare
Choose a tag to compare

This release include a bump of the various packages and tools used to avoid errors.

3.0

22 Oct 08:20
Compare
Choose a tag to compare

2.2.1

30 Jan 11:24
Compare
Choose a tag to compare
  • Many bugfixes and improvements of code indentation