Skip to main content.

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

Comments

:oops:... ;-)

Posted by TeRanEX at Monday, August 30, 2004 20:40:28

Add Comment

This item is closed, it's not possible to add new comments to it or to vote on it