hlashbrooke/WordPress-Plugin-Template

Options prefix should be set at install script

Opened this issue · 1 comments

Hi,

First of all, thanks for the fabulous plugin!

Using this boilerplate for the second time, I realized that the options were being set for both plugins at the same time.

Than I found the this line:

should be set to a unique prefix in order to keep the options to the right plugin.

My suggestion is to set the options prefix at the build-plugin script.

Does it make sense? If yes, I would be glad to propose this fix.

best,
alan

Hey @alantygel yes, that does make sense, and it probably should set the base from the build-plugin script.

Thanks for reporting it and please feel free to submit a pull request against develop to fix this.