Skip to content

Commit

Permalink
Merge pull request #11 from lightspeeddevelopment/fix/deprecated
Browse files Browse the repository at this point in the history
Updating deprecated function
  • Loading branch information
Virginia Garcia Ortiz authored Mar 12, 2020
2 parents 16532dd + b1c0d5b commit cdcb51a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

= 1.2.3 = In Development
* Dev - Adding support for the WordPress REST API.
* Fix - Fixed issue `PHP Deprecated: dbx_post_advanced is deprecated since version 3.7.0! Use add_meta_boxes instead`.

= 1.2.2 = 19 December 2019
* Dev - Limiting the Testimonials and Projects tabs, they will only appear if the plugins are active.
Expand Down
2 changes: 1 addition & 1 deletion vendor/Custom-Meta-Boxes/class.cmb-meta-box.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function __construct( $meta_box ) {
if ( empty( $this->_meta_box['id'] ) )
$this->_meta_box['id'] = sanitize_title( $this->_meta_box['title'] );

add_action( 'dbx_post_advanced', array( &$this, 'init_fields_for_post' ) );
add_action( 'add_meta_boxes', array( &$this, 'init_fields_for_post' ) );
add_action( 'cmb_init_fields', array( &$this, 'init_fields' ) );

add_action( 'admin_menu', array( &$this, 'add' ) );
Expand Down

0 comments on commit cdcb51a

Please sign in to comment.