Hi James,
Seeing as the plugin is called Plugin Info, PluginInfo
is a sane name for the class. You should get in touch with the Video User Manuals plugin and ask them to namespace their classes.
All the best,
John
Hi John,
The VUM plugin uses the Plugin Update Checker Library 1.1 from Janis Elsts. This library contains the PluginInfo
class.
This means that your plugin will conflict with any other plugin that also uses this library.
Looking at this Google search (https://www.google.com.au/search?q=site%3Aplugins.svn.wordpress.org+%22class%20PluginInfo%22), there are a handful of other plugins in the repository that also use that class.
Do you think a simpler solution would be for you to namespace your plugin’s class?
James
Another plugin that uses Plugin Update Checker is Smart Sliding Notes. I ran into this problem with one of my sites over the weekend. Seems to me that if several other plugins use a library withthis class, it makes sense for Plugin Info to address this issue rather than the users or author of the library to address it.
Classes should be properly prefixed to prevent these silly types of conflicts.
In an ideal world all developers prefix their classes and functions with their initials and a lot of these problems would be solved 🙂