Skip to content

Commit 12cea13

Browse files
committed
Fix mistakes from rebase
1 parent 4dee496 commit 12cea13

File tree

3 files changed

+5
-14
lines changed

3 files changed

+5
-14
lines changed

includes/CMB2_Field.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,6 @@ public function _set_field_defaults( $args ) {
11011101
'column' => false,
11021102
'js_dependencies' => array(),
11031103
'show_in_rest' => null,
1104-
'js_dependencies' => array(),
11051104
) );
11061105

11071106
/*

includes/CMB2_Hookup_Base.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ abstract class CMB2_Hookup_Base {
2525
*/
2626
protected $object_type = 'post';
2727

28+
/**
29+
* Constructor
30+
* @since 2.0.0
31+
* @param CMB2 $cmb The CMB2 object to hookup
32+
*/
2833
public function __construct( CMB2 $cmb ) {
2934
$this->cmb = $cmb;
3035
$this->object_type = $this->cmb->mb_object_type();

includes/CMB2_hookup.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,13 @@ class CMB2_hookup extends CMB2_Hookup_Base {
2727
*/
2828
protected static $css_registration_done = false;
2929

30-
/**
31-
* @var CMB2 object
32-
* @since 2.0.2
33-
*/
34-
protected $cmb;
35-
3630
/**
3731
* CMB taxonomies array for term meta
3832
* @var array
3933
* @since 2.2.0
4034
*/
4135
protected $taxonomies = array();
4236

43-
/**
44-
* The object type we are performing the hookup for
45-
* @var string
46-
* @since 2.0.9
47-
*/
48-
protected $object_type = 'post';
49-
5037
/**
5138
* Custom field columns.
5239
* @var array

0 commit comments

Comments
 (0)