Support Forum
starting with (at least) Meta Box (basic plugin, not AIO) V 5.6.14 categories of taxonomy_advanced fields with multiple terms are not stored any more.
example field (used inside a cloneable group):
[
'name' => __( 'Show in', 'textdomain' ),
'id' => 'show_in',
'type' => 'taxonomy_advanced',
'taxonomy' => ['product_cat'],
'field_type' => 'select_advanced',
'multiple' => true
],
Hello,
Thanks for your feedback.
I can reproduce the issue on my demo site. Actually, the data is saved to the database but the selected value does not display after saving the post. I've escalated this issue to the development team to fix it in the next update.
hello Peter,
thanks for checking the issue and reporting. so we are looking forward to the next update :).
Hi there,
I have the same problem.
I have a settings page with a group. Inside that group there is a taxonomy_advanced field.
When I save the settings page, the selected values of the taxonomy_advanced field aren't saved anymore.
When does it be fixed?
[
'name' => '',
'id' => 'options_cat',
'type' => 'group',
'clone' => true,
'sort_clone' => true,
'add_button' => 'Hinzufügen',
'fields' => [
[
'name' => 'Posttype',
'id' => 'cpt',
'type' => 'select',
'options' => [
'video' => 'Video',
'podcast' => 'Podcast',
'event' => 'Termin',
'post' => 'Blog',
'forum' => 'Forum',
],
'columns' => 2,
],
[
'name' => 'Kategorien',
'id' => 'terms',
'type' => 'taxonomy_advanced',
'taxonomy' => ['category'],
'field_type' => 'checkbox_list',
'placeholder' => 'Kategorie auswählen',
'multiple' => true,
'columns' => 10,
],
],
],
...or is there a quick fix / patch?
Hello Marius,
This issue has been fix in the commit https://github.com/wpmetabox/meta-box/commit/d18fe9a84d29fab1b66a5454b19b05c8c7cc380d
You can apply the changes on your site while waiting for the new update.
seems to be fixed with 5.6.16 now - thanks!