- Fix PHP 8.1 warnings.
- Fix: terms MetaBoxes is printing twice in case other plugins use same code structure.
- Fix: metaBox not saved when other plugins switching between blogs
- Fix bug of post boxes not saving on new posts.
- Save post boxes even if post has empty content and WordPress will not proceed in save it (so
"wp_insert_post"is not triggered). - Introduce
"metabox-orchestra.save-on-empty-post"hook to add the possibility to disallow box saving if content is empty.
- Added
Entity::id()to obtain a type-safe id of wrapped entity and mark entity as not valid if its id is <= 0.
- Added three new hooks: before showing boxes and before and after saving them.
- Improved
Entityobject constructor, now accepts an instance of anotherEntity.
- Prevent recursion when editing post/term object form inside a
BoxAction::save()method.
- Fix a bug in Boxes class.
- Update README code sample.
- Introduce
Entityobject to wrap supported objects for metaboxes (currently\WP_Postad\WP_Term) - [BREAKING]
Metabox::create_info()new requires two arguments, the second being currentEntity.
- Added
.travis.yml - Added more links to README.
- Added more tests.
- Minor, no logic change to AdminNotices
- Introduce unit tests