Remove no longer necessary checks

[MAILPOET-1948]
This commit is contained in:
Jan Jakeš
2019-09-05 14:50:07 +02:00
committed by Jack Kitterhing
parent 1f219d1eba
commit 01a0fe96c4
230 changed files with 2 additions and 468 deletions

View File

@ -1,8 +1,6 @@
<?php
namespace MailPoet\Form\Block;
if (!defined('ABSPATH')) exit;
class Checkbox extends Base {
static function render($block) {

View File

@ -1,8 +1,6 @@
<?php
namespace MailPoet\Form\Block;
if (!defined('ABSPATH')) exit;
class Radio extends Base {
static function render($block) {

View File

@ -1,8 +1,6 @@
<?php
namespace MailPoet\Form\Block;
if (!defined('ABSPATH')) exit;
class Segment extends Base {
static function render($block) {

View File

@ -3,9 +3,6 @@ namespace MailPoet\Form\Block;
use MailPoet\WP\Functions as WPFunctions;
if (!defined('ABSPATH')) exit;
class Select extends Base {
static function render($block) {

View File

@ -1,8 +1,6 @@
<?php
namespace MailPoet\Form\Block;
if (!defined('ABSPATH')) exit;
class Submit extends Base {
static function render($block) {

View File

@ -2,8 +2,6 @@
namespace MailPoet\Form\Block;
if (!defined('ABSPATH')) exit;
class Text extends Base {
static function render($block) {

View File

@ -1,8 +1,6 @@
<?php
namespace MailPoet\Form\Block;
if (!defined('ABSPATH')) exit;
class Textarea extends Base {
static function render($block) {
$html = '';

View File

@ -6,9 +6,6 @@ use MailPoet\Subscription\Captcha;
use MailPoet\WP\Functions as WPFunctions;
if (!defined('ABSPATH')) exit;
class Renderer {
// public: rendering method
static function render($form = []) {

View File

@ -12,8 +12,6 @@ use MailPoet\Subscription\Captcha;
use MailPoet\Util\Security;
use MailPoet\WP\Functions as WPFunctions;
if (!defined('ABSPATH')) exit;
class Widget extends \WP_Widget {
private $renderer;
private $wp;