ActiveCampaign / postmark-wordpress

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

Add defined checks around the constants in the __construct #51 #52

Closed cklosowski closed 4 years ago

cklosowski commented 4 years ago

Fixes #51

Proposed changes:

  1. Add defined() checks for each constant in the Postmark_Mail::__construct() method, as to avoid any additional instantiations of the class to throw notices.