Add mising ABSPATH checks to prevent execution on direct file access
This commit is contained in:
@ -1,7 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace MailPoet\Config\PopulatorData\Templates;
|
||||
|
||||
if(!defined('ABSPATH')) exit;
|
||||
|
||||
class Faith {
|
||||
|
||||
private $template_image_url;
|
||||
@ -9,7 +10,7 @@ class Faith {
|
||||
|
||||
function __construct($assets_url) {
|
||||
$this->template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/faith';
|
||||
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
|
||||
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
|
||||
}
|
||||
|
||||
function get() {
|
||||
|
Reference in New Issue
Block a user