What happens when two plugins have the same 3rd party class included into them?

I went ahead and namespaced Stripe. Everything worked just great. And now I don’t have to worry about any one else’s Stripe library messing up my stuff.

Original:

namespace Stripe;

New:

namespace MyRadNamespace\Stripe;

If anyone is interested in seeing how it’s done, feel free to browse my repo:

https://github.com/Spokane-Wordpress-Development/Freezy-Stripe

Cheers!

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)