Releases: dwnload/WpSettingsApi
Releases · dwnload/WpSettingsApi
Merge pull request #17 from dwnload/hotfix/3.1.1
Hotfix for version 3.1, bumps PHP >= 7.3.
3.1.0: Merge pull request #16 from dwnload/develop
Version 3.0.0
- Breaking rewrite which allows the use of multiple instances in one application.
- Requires PHP >= 7.1
- See Example.php for update on how to use version 3.
Updated
thefrosty/wp-utilities
to version 1.4.1.- SettingsApiFactory method
createApp
is nowcreate
which returns a new instance of thePluginSettings
. Use like:
new WpSettingsApi(SettingsApiFactory::create([]))
.
Removed
AbstractApp()
,App()
&PluginInfo()
.
Added
- On the init action hook, a third parameter has been added to the context of the current WpSettingsApi instance.
It's also been moved into the base object since the App class was removed.
Version 2.6.0
- Update: Settings navigation sections now hook into the
App::ACTION_PREFIX . 'settings_sidebars'
action tag. The
openingul
tag is hooked in to priority0
and the closingul
is on199
. Each section menu item is hooked into
a priority starting at3
and incrementing in value by +2. - Update: admin.css; fixing the removed
th
width attribute in 2.5.0. - Update: admin.js; target sidebar anchor elements with the
[data-tab-id]
only. - Added: Version constant to the base file and passed to the settings page anchor title.
2.5.1
Version 2.5.0
Merge pull request #11 from dwnload/develop Version 2.5
Version 2.4.5
Allowing method chaining in SettingField and SettingSection as well as adding a new attributes setting in SettingField to apply in the FieldTypes.
(forcing Pacakgist update)
Version 2.4.3
Add missing URL field and add EMAIL field type. (#7)
Version 2.4.2
PHP 7.2 fix.