Skip to content

Commit

Permalink
Fix admin page url not working in CMB2 2.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Hemberger committed Mar 3, 2021
1 parent a5787ca commit 0f0625e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
@@ -1,5 +1,8 @@
# Changelog

## 0.11.8 (3/3/21)
* Fixed: Bump CMB2 to 2.8.0 with fix for admin menu link not working.

## 0.11.7 (3/1/21)
* Fixed: Make sure admin menu displays for non-Mai themes.

Expand Down
1 change: 1 addition & 0 deletions includes/fields.php
Expand Up @@ -14,6 +14,7 @@ function maiaec_register_metabox() {
'object_types' => array( 'options-page' ),
'option_key' => 'mai_aec', // The option key and admin menu page slug.
'parent_slug' => current_theme_supports( 'mai-engine' ) ? 'mai-theme' : 'genesis', // Make options page a submenu item of the themes menu.
'priority' => 10,
) );

$cmb->add_field( array(
Expand Down
4 changes: 2 additions & 2 deletions mai-ads-extra-content.php
Expand Up @@ -5,7 +5,7 @@
* Plugin URI: https://bizbudding.com/products/mai-ads-extra-content/
* Description: Enable flexible ad locations and extra content areas throughout Mai Theme & Genesis child themes.
* Text Domain: mai-ads-extra-content
* Version: 0.11.7
* Version: 0.11.8
*
* Author: BizBudding
* Author URI: https://bizbudding.com
Expand Down Expand Up @@ -90,7 +90,7 @@ private function setup_constants() {

// Plugin version.
if ( ! defined( 'MAI_AEC_VERSION' ) ) {
define( 'MAI_AEC_VERSION', '0.11.7' );
define( 'MAI_AEC_VERSION', '0.11.8' );
}

// Plugin Folder Path.
Expand Down

0 comments on commit 0f0625e

Please sign in to comment.