CMB2 2.5.0, and WordPress 5.0

Version 2.5.0 has been released, and contains a few bug fixes and enhancements, but more importantly has some updates to make CMB2 more compatible with WordPress’ new block editor (formerly known as Gutenberg), and is the main reason for this post.

First, an optional 'mb_callback_args' CMB2 box property has been added, which allows defining the $callback_args passed into add_meta_box(). This allows using defining the new Gutenberg/block-editor compatibility parameters, which you can read more about here. You can see the example in example-functions.php.

Secondly, an issue was fixed where the wysiwyg fields’ visual tab wouldn’t save content on Gutenberg/block-editor posts. Thank you to @staurand for their contribution there to get this issue fixed.

Please keep in mind: we have made updates to make CMB2 more compatible, but we are definitely not guaranteeing full feature parity. Long-term, we’ll be looking at being able to define custom blocks in the same way you can define custom boxes.

Huge thank you to the contributors for this release, manzoorwanijk, lipemat, tw2113, and rianrietveld.

Update, 12/10/2018: We have released a 2.5.1 hotfix to address some issues/incompatibilities.

Hello world!

Welcome to Make CMB2. This is a place to discuss the development of the CMB2 plugin.

Click here to join this site.

Hey, we have a shiny…

Hey, we have a shiny new milestone. If you’re all about that CSS, please check it out and consider contributing.

Brief History of CMB2:

* WebDevStudios takes over maintenance and github repo for CMB (from Jared Atchison)
* CMB2 is born
* CMB2 is moved to separate github organization