ActiveCampaign / postmark-wordpress

The Official Postmark Wordpress Plugin
GNU General Public License v2.0
17 stars 17 forks source link

Fix undefined index error #21

Closed renatonascalves closed 7 years ago

renatonascalves commented 7 years ago

A minor fix to stop this error from appearing in the log: [21-Mar-2017 14:18:12 UTC] PHP Notice: Undefined index: POSTMARK_PLUGIN_TESTING in /srv/www/opera/htdocs/wp-content/plugins/postmark-wordpress/page-settings.php on line 17

Also adding 'defined( 'ABSPATH' ) || exit;' for hardening security.

BZum1 commented 7 years ago

It seems like this was resolved by #25 - right?

renatonascalves commented 7 years ago

Yes! It was! :)