[wp-trac] [WordPress Trac] #18285: New Settings API and workflow
WordPress Trac
wp-trac at lists.automattic.com
Mon Aug 1 19:45:37 UTC 2011
#18285: New Settings API and workflow
----------------------------+------------------
Reporter: nacin | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.3
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: |
----------------------------+------------------
Comment (by ryan):
That's what options-media.php looks like when it uses all of the core
settings API and does it own POST and error handling instead of using
options.php and options-head.php. _admin_init() is a special function
that core admin files can define before loading admin.php so that they can
queue up actions on admin_init like plugins can. options-media.php uses
this to make sure the core settings sections and fields are registered
before plugins.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18285#comment:29>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list