Customizer panel appears in post unless 'post_types' => false is set

Support MB Settings Page Customizer panel appears in post unless 'post_types' => false is setResolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17601
    PrzemekPrzemek
    Participant

    When I create a Customizer panel like here:

    add_filter( 'rwmb_meta_boxes', function ( $meta_boxes ) {
        $meta_boxes[] = array(
            'id'             => 'general',
            'title'          => 'General',
            'panel'          => '', // THIS
            'fields'         => array(

    the meta box unexpectedly appears in default post type (post) edit screen as well.

    I needed to add 'post_types' => false although it wasn't documented here.

    #17616
    Anh TranAnh Tran
    Keymaster

    Hi,

    Thanks for pointing it out. I think it's a bug since the meta box should not be visible in the post edit screen. I'll fix it in the next version.

    Updated: It's fixed in the 2.1.0 version of MB Settings Page. Please update.

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