Finally figured out what was going on with …

Finally figured out what was going on with one of my WordPress plugins. It relies on Composer, you see, and to avoid version conflicts, I’d decided to give “namespace prefixing” a try. (If multiple plugins try to autoload the same class, whichever plugin is included first wins, which could cause issues if another plugin relies on a different version of said class.) With “prefixing,” though, it seems the second, identical but differently name(space)d class will not get loaded at all. (Who knew!?)

One response to “Finally figured out what was going on with …”

  1. Jan Boddez Avatar

    That’s not entirely correct, but whatevs.