PHPMailer 5.1 and Private Properties (1 post)

  1. Stefano Lissa
    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic