PluginProbe
Post Grid Gutenberg Blocks – PostX / 5.1.0
Post Grid Gutenberg Blocks – PostX v5.1.0
5.1.1 5.1.0 5.0.41 5.0.39 5.0.38 5.0.37 5.0.36 5.0.35 5.0.34 5.0.33 5.0.32 5.0.31 5.0.30 5.0.29 5.0.28 5.0.27 5.0.26 5.0.25 5.0.23 5.0.24 5.0.22 5.0.21 5.0.20 5.0.19 5.0.18 All 240 releases
← All changes | addons/beaver_builder/includes/frontend.php +5 -2 5.0.35 → 5.1.0 View file →
@@ -1,5 +1,8 @@
1 -<?php $id = $settings->template;//phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited ?>
1 +<?php
2 +defined( 'ABSPATH' ) || exit;
3 +// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- Included by Beaver Builder inside the module render method; variables are local.
4 +$id = $settings->template;//phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited ?>
2 5 <div class="ultp-shortcode" data-postid="<?php echo esc_attr( $id ); ?>">
3 6 <?php
4 7 if ( $id ) {
5 8 $args = array(
@@ -13,9 +16,9 @@
13 16 the_content();
14 17 }
15 18 wp_reset_postdata();
16 19 }
17 - } elseif ( isset( $_GET['fl_builder'] ) ) {
20 + } elseif ( isset( $_GET['fl_builder'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Read-only Beaver Builder editor detection.
18 21 //phpcs:ignore
19 22 echo '<p style="text-align:center;">' . sprintf( esc_html__( 'Pick a Template from your saved ones. Or create a template from: %s.', 'ultimate-post' ) . ' ', '<strong><i>' . esc_html__( 'Dashboard > PostX > Saved Templates', 'ultimate-post' ) . '</i></strong>' ) . '</p>'; //phpcs:ignore
20 23
21 24 }