| @@ -1,5 +1,6 @@ | ||
| 1 | 1 | <?php |
| 2 | +defined( 'ABSPATH' ) || exit; | |
| 2 | 3 | |
| 3 | 4 | if ( ! class_exists( 'PostX_WPBakery_Widget' ) ) { |
| 4 | 5 | |
| 5 | 6 | class PostX_WPBakery_Widget { |
| @@ -41,9 +42,9 @@ | ||
| 41 | 42 | $output .= ob_get_clean(); |
| 42 | 43 | } |
| 43 | 44 | wp_reset_postdata(); |
| 44 | 45 | } |
| 45 | - } elseif ( isset( $_GET['vc_editable'] ) ) { | |
| 46 | + } elseif ( isset( $_GET['vc_editable'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Read-only WPBakery editor detection. | |
| 46 | 47 | // @codingStandardsIgnoreLine |
| 47 | 48 | $output .= '<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>'; |
| 48 | 49 | } |
| 49 | 50 | |