Support » Plugins » Hacks » PHPMailer 5.1 and Private Properties

  • Grrr, on latest WordPress version PHPMailer have been updated to version 5.1. That version explicitely declare some properties private (the CustomHeader) for example, without providing a method to access them.

    A my plugin checks the set headers to schedule every email with different timing and now it break the whole blog but any plugin that want to post set up the PHPMailer (phpmailer_init hook) can have problems with those new private properties (that have not a getter).

    Is there a quick way to ask for a patch to the PHPMailer included in WordPress? It is enough to declare public the properties that was public on previous versions or to add the getter methods.

    What is the politics of WordPress about hacking imported third party libraries?

    Thank you, Stefano.

  • The topic ‘PHPMailer 5.1 and Private Properties’ is closed to new replies.