Skip to main content.

Archives

This is the archive for August 2004

Monday, August 30, 2004

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 :)