Please don't use class name Mandrill in the lib folder mandrill class
-
Hi
I use the mandrill api for PHP myself for one-off and for that I include the official mandrill class api.
The name of the class is of course Mandrill.Now that I use your plugin , which is exactly what I need, I find out that the mandrill.class.php file is your facade class, which also uses the class name Mandrill.
So now I have a collision with the official Mandrill class and yours.In my opinion you should namespace your class, so that it doesnt create a conflict. Call it WpMandrill instead of Mandrill.
No I had to hack your pluging to do the change myself (on 3 spots or so) and can’t receive updates unless you amend this.Would you please?
- The topic ‘Please don't use class name Mandrill in the lib folder mandrill class’ is closed to new replies.