From 19521d565bd9cbbc696e75a0c8fdf9743df04ed8 Mon Sep 17 00:00:00 2001 From: MickeyKay Date: Sun, 20 Dec 2015 22:35:40 -0800 Subject: [PATCH] Fix metabox form output for taxonomy terms Addresses #552. Wraps the existing taxonomy term metabox output in a table and associated tbody, tr, and td elements to match default WordPress markup. --- includes/CMB2.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/CMB2.php b/includes/CMB2.php index 7bec5583e..b7b045eef 100644 --- a/includes/CMB2.php +++ b/includes/CMB2.php @@ -184,7 +184,7 @@ public function show_form( $object_id = 0, $object_type = '' ) { */ do_action( "cmb2_before_{$object_type}_form_{$this->cmb_id}", $object_id, $this ); - echo '
'; + echo '
'; foreach ( $this->prop( 'fields' ) as $field_args ) { @@ -214,7 +214,7 @@ public function show_form( $object_id = 0, $object_type = '' ) { } } - echo '
'; + echo '
'; $this->render_hidden_fields();