PluginProbe
Content Blocks Builder – Create blocks, repeater blocks with carousel, grid, popup layouts / trunk
Content Blocks Builder – Create blocks, repeater blocks with carousel, grid, popup layouts vtrunk
2.8.14 2.8.13 2.8.12 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.10 2.8.11 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 trunk 1.0.1 1.0.2 1.1.0 1.1.1 All 147 releases
← All changes | includes/library.php +6 -6 2.7.5trunk View file →
@@ -55,9 +55,9 @@
55 55 // Add the header of the variation library page.
56 56 add_action( 'in_admin_header', [ $this, 'in_admin_header_variation_library' ] );
57 57
58 58 // Clear the blocks cache on upgraded.
59 - add_action( 'cbb_version_upgraded', [ $this, 'clear_library_cache' ] );
59 + add_action( 'cbb/version_upgraded', [ $this, 'clear_library_cache' ] );
60 60
61 61 // Enqueue block library scripts.
62 62 add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_block_library_scripts' ] );
63 63
@@ -132,9 +132,9 @@
132 132 $screen = get_current_screen();
133 133 if ( 'boldblocks_block_page_cbb-block-library' === $screen->base ) {
134 134 ?>
135 135 <div class="cbb-settings-header">
136 - <h1><strong><?php printf( __( 'Block Library', 'content-blocks-builder' ) ); ?></strong></h1>
136 + <h1><strong><?php esc_html_e( 'Block Library', 'content-blocks-builder' ); ?></strong></h1>
137 137 </div>
138 138 <?php
139 139 }
140 140 }
@@ -175,9 +175,9 @@
175 175 $screen = get_current_screen();
176 176 if ( 'boldblocks_block_page_cbb-variation-library' === $screen->base ) {
177 177 ?>
178 178 <div class="cbb-settings-header">
179 - <h1><strong><?php printf( __( 'Variation Library', 'content-blocks-builder' ) ); ?></strong></h1>
179 + <h1><strong><?php esc_html_e( 'Variation Library', 'content-blocks-builder' ); ?></strong></h1>
180 180 </div>
181 181 <?php
182 182 }
183 183 }
@@ -268,9 +268,9 @@
268 268 // For debuging.
269 269 $this->the_plugin_instance->enqueue_debug_information( $block_library_handle );
270 270
271 271 // Load block library url.
272 - wp_add_inline_script( $block_library_handle, 'var BoldBlocksBlockLibrary=' . wp_json_encode( [ 'URL' => $this->get_library_url() ] ), 'before' );
272 + wp_add_inline_script( $block_library_handle, 'var CBBBlockLibrary=' . wp_json_encode( [ 'URL' => $this->get_library_url() ] ), 'before' );
273 273
274 274 // Enqueue style.
275 275 wp_enqueue_style(
276 276 'boldblocks-settings',
@@ -543,9 +543,9 @@
543 543 // For debuging.
544 544 $this->the_plugin_instance->enqueue_debug_information( $variation_library_handle );
545 545
546 546 // Load block library url.
547 - wp_add_inline_script( $variation_library_handle, 'var BoldBlocksVariationLibrary=' . wp_json_encode( [ 'URL' => $this->get_library_url() ] ), 'before' );
547 + wp_add_inline_script( $variation_library_handle, 'var CBBVariationLibrary=' . wp_json_encode( [ 'URL' => $this->get_library_url() ] ), 'before' );
548 548
549 549 // Enqueue style.
550 550 wp_enqueue_style(
551 551 'boldblocks-settings',
@@ -808,9 +808,9 @@
808 808 // For debuging.
809 809 $this->the_plugin_instance->enqueue_debug_information( $pattern_library_handle );
810 810
811 811 // Load pattern library url.
812 - wp_add_inline_script( $pattern_library_handle, 'var BoldBlocksPatternLibrary=' . wp_json_encode( [ 'URL' => $this->get_library_url() ] ), 'before' );
812 + wp_add_inline_script( $pattern_library_handle, 'var CBBPatternLibrary=' . wp_json_encode( [ 'URL' => $this->get_library_url() ] ), 'before' );
813 813
814 814 // Enqueue style.
815 815 wp_enqueue_style(
816 816 $pattern_library_handle,