Skip to content

Commit 8a5ee10

Browse files
authored
Merge pull request #35 from pixelgrade/meta-attributes-temp-fix
temporary fix for post meta attributes bug in Gutenberg 6.6.0
2 parents 4efa7dc + 8b1caa2 commit 8a5ee10

File tree

11 files changed

+27809
-301
lines changed

11 files changed

+27809
-301
lines changed

dist/css/blocks.style.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/editor.blocks.js

+18,351-5
Large diffs are not rendered by default.

dist/js/frontend.blocks.js

+8,968-4
Large diffs are not rendered by default.

lib/enqueue-scripts.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ function novablocks_enqueue_frontend_assets() {
129129
);
130130

131131
$position_indicators = get_post_meta( get_the_ID(), 'novablocks_hero_position_indicators', true );
132-
if ( ! empty( $position_indicators ) ) {
132+
if ( ! empty( $position_indicators ) || ( defined( 'NOVABLOCKS_USE_POST_META_ATTRIBUTES' ) && ! NOVABLOCKS_USE_POST_META_ATTRIBUTES ) ) {
133133
$script_dependencies[] = 'nova-blocks-bully';
134134
}
135135

0 commit comments

Comments
 (0)