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/bricks_builder/bricksbuilder.php +3 -2 5.0.38 → 5.1.0 View file →
@@ -43,11 +43,11 @@
43 43
44 44 $current_url = isset( $_SERVER['REQUEST_URI'] ) ? esc_url( $_SERVER['REQUEST_URI'] ) : ''; //phpcs:ignore
45 45
46 46 // Render element HTML
47 - echo "<div {$this->render_attributes( '_root' )}>"; //phpcs:ignore
47 + echo "<div {$this->render_attributes( '_root' )}>"; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Bricks API attribute string; the only attribute this element sets is the fixed class bricks-postx-wrapper.
48 48 if ( $id ) {
49 - echo ultimate_post()->build_css_for_inline_print( $id, true );
49 + echo ultimate_post()->build_css_for_inline_print( $id, true ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- <style> tag from build_css_for_inline_print(): integer post ID, CSS passed through wp_strip_all_tags().
50 50 echo '<div class="ultp-shortcode" data-postid="' . esc_attr( $id ) . '">';
51 51 $args = array(
52 52 'p' => $id,
53 53 'post_type' => 'ultp_templates',
@@ -61,8 +61,9 @@
61 61 wp_reset_postdata();
62 62 }
63 63 echo '</div>';
64 64 } elseif ( strpos( 'bricks=run', $current_url ) !== false || strpos( $current_url, 'bricks/v1/render_element' ) !== false ) {
65 + /* translators: %s: Menu path to the Saved Templates screen. */
65 66 echo '<p style="text-align:center; font-size: 20px;">' . 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>';
66 67 }
67 68 echo '</div>';
68 69 }