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/divi/init.php +2 -2 5.0.19 → 5.1.0 View file →
@@ -5,10 +5,10 @@
5 5 if ( ultimate_post()->get_setting( 'ultp_divi' ) == 'true' ) {
6 6 if ( class_exists( 'ET_Builder_Module' ) ) {
7 7 require_once ULTP_PATH . '/addons/divi/divi.php';
8 8
9 - $action = isset( $_GET['action'] ) ? sanitize_text_field( $_GET['action'] ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
10 - $post_id = isset( $_GET['post'] ) ? sanitize_text_field( $_GET['post'] ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
9 + $action = isset( $_GET['action'] ) ? sanitize_text_field( wp_unslash( $_GET['action'] ) ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
10 + $post_id = isset( $_GET['post'] ) ? sanitize_text_field( wp_unslash( $_GET['post'] ) ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
11 11 if ( $action && $post_id ) {
12 12 if ( get_post_type( $post_id ) == 'ultp_templates' ) {
13 13 add_filter( 'et_builder_enable_classic_editor', '__return_false' );
14 14 }