Permalink
Browse files

Fixed a bug that the `save` field/section argument did not take effec…

…t in the widget factory.
  • Loading branch information...
michaeluno committed Jul 8, 2018
1 parent 86468e5 commit 87c2e505d3674f82d927b050bc37ac4cbd05d12b
Showing with 4 additions and 3 deletions.
  1. +3 −2 development/factory/widget/AdminPageFramework_Widget_Factory.php
  2. +1 −1 readme.txt
@@ -119,7 +119,7 @@ private function _getTitle( array $aArguments, array $aFormData ) {
*/
public function update( $aSubmittedFormData, $aSavedFormData ) {
return $this->oCaller->oUtil->addAndApplyFilters(
$aSubmittedFormData = $this->oCaller->oUtil->addAndApplyFilters(
$this->oCaller,
"validation_{$this->oCaller->oProp->sClassName}",
call_user_func_array(
@@ -129,7 +129,8 @@ public function update( $aSubmittedFormData, $aSavedFormData ) {
$aSavedFormData,
$this->oCaller
);
return $this->oCaller->oForm->getInputsUnset( $aSubmittedFormData, $this->oCaller->oForm->sStructureType ); // 3.8.17+
}
/**
View
@@ -506,7 +506,7 @@ See examples, https://gist.github.com/michaeluno/c30713fcfe0d9d45d89f, https://g
== Changelog ==
= 3.8.17 =
- Fixed a bug that the `save` argument did not take effect for User Meta and Page Meta Box factories.
- Fixed a bug that the `save` argument did not take effect for User Meta, Page Meta Box and Widget factories.
- Fixed a compatibility issue with some third-parties which attempt to instantiate the framework widget class without given any parameters.
= 3.8.16 - 2018/07/06 =

0 comments on commit 87c2e50

Please sign in to comment.