Closed ninnypants closed 9 years ago
I'd rather not do this as it doesn't really solve the problem in my opinion, but it only makes it slightly harder to read the code. Solving this problem can be done by properly namespacing the class name (which it already does in my opinion) and checking the ABSPATH
constant.
Closing this, but still open to discuss it if you want.
Since it's causing problems on some setups it makes sense to just wrap the whole class in an if statement and let the code continue to execute since nothing else in the file will be executed.