Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Options page won't save after setting parent_slug in new_cmb2_box options #1008

Closed
taunoha opened this issue Aug 8, 2017 · 1 comment

Comments

@taunoha
Copy link

commented Aug 8, 2017

I'm getting a white page without any errors when I click "save changes" on options page.
I'm using CMB2 2.2.5.1

$options = new_cmb2_box( array(
      'id'  => '_ld_theme_option_metaboxes',
      'title'        => 'Theme Options',
      'object_types' => array('options-page'),
      'option_key'   => '_ld_theme_options',
      'parent_slug'  => 'options-general.php',
      'icon_url'     => 'dashicons-admin-settings'
));

When I remove the option "parent_slug" it will save without any problems.
Am I missing something?

jtsternberg added a commit that referenced this issue Aug 8, 2017
@jtsternberg

This comment has been minimized.

Copy link
Member

commented Aug 8, 2017

Thank you for reporting. Should be fixed in 2.2.5.2.

@jtsternberg jtsternberg closed this Aug 8, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.