Skip to content
This repository has been archived by the owner on Jan 23, 2019. It is now read-only.

Releases: theantichris/Simple-Plugin-Framework

Added "es" option to Helper::makeSingular().

02 Jan 16:15
Compare
Choose a tag to compare
v5.0.2

Added "es" option to makeSingular().

Fixed post type capabilities.

02 Jan 16:07
Compare
Choose a tag to compare

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.

15 Aug 12:22
Compare
Choose a tag to compare
  • 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.

05 Aug 15:17
Compare
Choose a tag to compare

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.

21 Jul 13:22
Compare
Choose a tag to compare
v3.0.0

Updated comments.

Fixed issue with render and include_once.

12 Jun 20:57
Compare
Choose a tag to compare
v2.0.1

Changed from include_once to include.

v2.0.0

09 Jun 20:42
Compare
Choose a tag to compare

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

17 May 14:25
Compare
Choose a tag to compare

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

09 May 18:30
Compare
Choose a tag to compare

Removed WordPress requirement.

Really fixed autoloading this time.

05 May 14:27
Compare
Choose a tag to compare
v1.0.2

Fixing PSR-4 autoload.