Fix block editor metabox

This commit is contained in:
Robin Cornett
2018-11-07 17:57:25 -05:00
parent 84b43b6edf
commit 40e63aa7ad
2 changed files with 21 additions and 10 deletions
@@ -148,7 +148,7 @@ class Display_Featured_Image_Genesis {
add_action( 'admin_init', array( $this->author, 'set_author_meta' ) );
// Post Meta
add_action( 'enqueue_block_editor_assets', array( $this->post_meta, 'maybe_add_metabox' ) );
add_action( 'add_meta_boxes', array( $this->post_meta, 'add_metabox' ), 10, 2 );
add_filter( 'admin_post_thumbnail_html', array( $this->post_meta, 'meta_box' ), 10, 2 );
add_action( 'save_post', array( $this->post_meta, 'save_meta' ) );