Skip to content

Commit

Permalink
Fix low-hanging fruit with phpcbf
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed Feb 28, 2017
1 parent 3287871 commit 0795f4b
Show file tree
Hide file tree
Showing 37 changed files with 545 additions and 218 deletions.
4 changes: 3 additions & 1 deletion bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

/**
* Function to encapsulate the CMB2 bootstrap process.
*
* @since 2.2.0
* @return void
*/
Expand All @@ -35,6 +36,7 @@ function cmb2_bootstrap() {
/**
* For back-compat. Does the dirty-work of instantiating all the
* CMB2 instances for the cmb2_meta_boxes filter
*
* @since 2.0.2
*/
$cmb_config_arrays = apply_filters( 'cmb2_meta_boxes', array() );
Expand All @@ -50,6 +52,7 @@ function cmb2_bootstrap() {
/**
* Get all created metaboxes, and instantiate CMB2_hookup
* on metaboxes which require it.
*
* @since 2.0.2
*/
foreach ( CMB2_Boxes::get_all() as $cmb ) {
Expand All @@ -63,7 +66,6 @@ function cmb2_bootstrap() {
$rest = new CMB2_REST( $cmb );
$rest->universal_hooks();
}

}

/**
Expand Down
Loading

0 comments on commit 0795f4b

Please sign in to comment.