Releases: theantichris/Simple-Plugin-Framework
Added "es" option to Helper::makeSingular().
v5.0.2 Added "es" option to makeSingular().
Fixed post type capabilities.
An updated to WordPress caused an error if delete_posts capability wasn't present. Added that to the default capabilities for PostType.
MetaBox helpers and slug refactoring.
- Due to the nature of this update most object constructor signatures have been changed and will need to be updated
- Slugs are no longer generated automatically but required on object creation
- Meta boxes have been completely reworked
- Now supports multiple fields per meta box
- Fixed saving for checkboxes
- Fields are created for the meta box by using static methods in the meta box's view file
- Moved isValid() method to Capability class
- Removed Enum class
Static views.
The big change in this release is changing the View class' render() method to be static. This means that instead of instantiating a view file and passing it into a WordPressObject you now pass the path to the view file and any view data in. This is not a backwards compatible change so any WordPressObject implementation will need to be adjusted.
A Helper class was created to house static methods that do not fit in with the scope of the other objects. makeSingular() was moved to Helper from the WordPressObject base class.
First public release as SPF.
v3.0.0 Updated comments.
Fixed issue with render and include_once.
v2.0.1 Changed from include_once to include.
v2.0.0
An argument class for each WordPress object has been written and all classes have been updated to use them.
Classes for SettingsSection and SettingsField are now included and required for the Settings class.
The View class now gets instantiated and its render() method echos instead of returns the output buffer.
v1.1.0: Merge pull request #4 from theantichris/view-refactor
Refactored the View class to no longer use a static method.
Updated the readme to reflect the framework as a stand alone package instead of the boilerplate.
v1.0.3
Removed WordPress requirement.
Really fixed autoloading this time.
v1.0.2 Fixing PSR-4 autoload.