Add mising ABSPATH checks to prevent execution on direct file access

This commit is contained in:
Tautvidas Sipavičius
2019-01-23 11:32:40 +02:00
parent 784c952229
commit b2bb7b0023
34 changed files with 71 additions and 43 deletions

View File

@@ -1,7 +1,7 @@
<?php
namespace MailPoet\Config\PopulatorData\Templates;
if(!defined('ABSPATH')) exit;
class FoodBox {
@@ -754,4 +754,4 @@ class FoodBox {
return $this->template_image_url . '/welcome-to-foodbox.jpg';
}
}
}