Skip to content

Commit 6981efa

Browse files
committed
Merge branch 'development'
2 parents 9cb536e + 6ccc84e commit 6981efa

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# Define version constant
66
if ( ! defined( __NAMESPACE__ . '\VERSION' ) ) {
7-
define( __NAMESPACE__ . '\VERSION', '3.6.6' );
7+
define( __NAMESPACE__ . '\VERSION', '3.6.8' );
88
}
99

1010
# Define root directory

core/Container/Block_Container.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -449,9 +449,7 @@ public function render_block( $attributes, $content, $block = null ) { // added
449449
unset($attributes['data']);
450450
ob_start();
451451
call_user_func( $this->render_callback , $fields, $attributes, $content, $post_id, $block );
452-
$toReturn = ob_get_contents();
453-
ob_clean();
454-
return $toReturn;
452+
return ob_get_clean();
455453
}
456454

457455
/**

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "carbon-fields",
3-
"version": "3.6.6",
3+
"version": "3.6.8",
44
"description": "WordPress developer-friendly custom fields for post types, taxonomy terms, users, comments, widgets, options, navigation menus and more.",
55
"directories": {
66
"test": "tests"

0 commit comments

Comments
 (0)