Closed Mte90 closed 9 years ago
Are you talking about possible conflicts with other classes? I am using namespace like this: new \Cmb2Grid\Grid\Cmb2Grid();
So i think it's hard to see any conflicts. Don't you think? Or it's another thing you are talking about?
I'm working on two plugins that use this library that is in bundle in every plugin. With this little check i resolve the error.
Are you saying you are using my plugin to make another plugin? I'm glad to hear that! Never thought it would be used like this.
Ok I'll change that
Yes :-) https://github.com/Mte90/WordPress-Plugin-Boilerplate-Powered I've integrated in my boilerplate :-)
Great work! I'm going to take a better look when i have time :) And I am so happy to see CMB2 and CMB2-grid there
The class_exist you asked me is done. Test to see if it is ok now
Is possible add in Cmb2GridPlugin a check for class_exist? If two plugin load the same class there is an error.
I've patched with this code