Two individuals were having trouble with their theme after activating the XenWord plugin. These were coincidences and the themes needed updating. However, while looking at my own code under phpstorm, a fairly big bug was found.
After reading different ways to handle activation, I’ll have to tinker with different ways and see if the bug can be fixed without a complete rewrite.
Currently the activation method calls another file which sets up the database. It may be best to remove the activation from the class but I’ll try different methods tomorrow.
I ran across the following code snippet while reading about activation and deactivation of WordPress plugins:
[wpgist id=”857430″]