[wp-hackers] Need help with: coding new Plugin options

Ozh ozh at planetozh.com
Fri Nov 7 07:05:47 GMT 2008


On Thu, Nov 6, 2008 at 10:59 PM, Otto <otto at ottodestruct.com> wrote:
> Why would one want to point to options.php? Is there any particular
> advantage of that?
> I've always made my form point to itself, using action="".

I *think* (may be wrong) that pointing to options.php auto
stores/updates options in the db from what have been POSTed, so you
don't have to write your own update function. The (big) downside to
this is that it writes each setting in a single DB entry, which I
don't like.

(So I'm going with action="" too)

-- 
http://planetOzh.com ~ Blog and WordPress Stuff
http://FrenchFragFactory.net ~ Daily Quake News


More information about the wp-hackers mailing list