[wp-hackers] Issues with register_setting/add_settings_field

Austin Matzko if.website at gmail.com
Mon Aug 10 17:09:49 UTC 2009


On Mon, Aug 10, 2009 at 10:43 AM, Milan Dinić<liste at srpski.biz> wrote:
> As you can see, this script is based on Ozh's tip. When I first time tried
> this tip, I just copied his functions and that worked without problem. Later
> when I renamed functions and variables, this didn't work.

The problem is that the permalink options page does not post its forms
to wp-admin/options.php, as do the other settings pages.  So while you
can add input fields to that page, register_setting() does nothing for
you.

See <https://core.trac.wordpress.org/ticket/9296>


More information about the wp-hackers mailing list