Add mising ABSPATH checks to prevent execution on direct file access
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user