Oh, I think it posted that comment twice. Sorry about that if it did.
It was code copied from an existing project to save time. It’s a more expanded way of doing the same thing, but the end result is the same. It shouldn’t impact the result to change it.
We wrote this during lunch breaks so I pulled from existing code to save time. If it’s a performance gain to change it, that I’m in favor of doing. Any idea if that’s the case?
Thanks for the tip! I just made this change to the code on GitHub.
if ($cap == 'customize') {
return array('nope'); // thanks @ScreenfeedFr, http://bit.ly/1KbIdPg
}
The download should be updated soon.