BUG: Exporting fields leaves out callback-function on checkbox-list

Support Meta Box AIO BUG: Exporting fields leaves out callback-function on checkbox-listResolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37353
    WolfgangWolfgang
    Participant

    Hey There, just noticed, that exporting checkbox_lists with a custom Callback Function in it doesn't export the callback function and leaves out the 'options' field in the code.

    It should be
    [
    'name' => __('Layout', 'bstg'),
    'id' => $prefix . 'layout',
    'type' => 'checkbox_list',
    'inline' => true,
    'select_all_none' => true,
    'options' => components_layout(),
    ],

    But it gets exported that way

    [
    'name' => __('Layout', 'bstg'),
    'id' => $prefix . 'layout',
    'type' => 'checkbox_list',
    'inline' => true,
    'select_all_none' => true,
    ],

    So as you can see the 'options' index is missing!

    Cheers

    #37360
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Thanks for your feedback.

    I've escalated this issue to the development team to fix it in the next update.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.