If you're a plugin author, remember that a plugin option name can be no longer than 20 characters. While creating an option with a longer name won't fail, getting or setting the option value will.
This example won't work, e.g.
$this->createOption('ReadonlyNumericalTextOption1', '...); /succeeds
$this->setOption('ReadonlyNumericalTextOption1','foo'); // fails
$v = $this->getOption('ReadonlyNumericalTextOption1'); // fails
Knowing this could save you some time debugging a mysterious problem :)
Posted by karma at 06:14 PM. Filed under: Plugin Tips
