taxonomy_advanced for settings does not save data any more
- This topic has 6 replies, 3 voices, and was last updated 2 years, 3 months ago by
webentwicklerin.
-
AuthorPosts
-
December 21, 2022 at 8:33 PM #39956
webentwicklerin
Participantstarting 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
],December 21, 2022 at 10:05 PM #39960Peter
ModeratorHello,
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.
December 22, 2022 at 4:13 AM #39972webentwicklerin
Participanthello Peter,
thanks for checking the issue and reporting. so we are looking forward to the next update :).
January 5, 2023 at 5:22 PM #40126Marius Günter
ParticipantHi 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, ], ], ],
January 5, 2023 at 5:29 PM #40127Marius Günter
Participant...or is there a quick fix / patch?
January 5, 2023 at 8:49 PM #40133Peter
ModeratorHello 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.February 3, 2023 at 5:08 PM #40388webentwicklerin
Participantseems to be fixed with 5.6.16 now - thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.