Add mising ABSPATH checks to prevent execution on direct file access
This commit is contained in:
@@ -9,7 +9,7 @@ class Shoes {
|
||||
|
||||
function __construct($assets_url) {
|
||||
$this->template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/shoes';
|
||||
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
|
||||
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
|
||||
}
|
||||
|
||||
function get() {
|
||||
@@ -576,4 +576,4 @@ class Shoes {
|
||||
return $this->template_image_url . '/shoes.jpg';
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user