File tree Expand file tree Collapse file tree 3 files changed +5
-14
lines changed
Expand file tree Collapse file tree 3 files changed +5
-14
lines changed Original file line number Diff line number Diff 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 /*
Original file line number Diff line number Diff 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 ();
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments