[wp-trac] [WordPress Trac] #18285: New Settings API and workflow
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 15 21:47:38 UTC 2012
#18285: New Settings API and workflow
-----------------------------+-----------------------------
Reporter: nacin | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Future Release
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: 3.4-early |
-----------------------------+-----------------------------
Changes (by CaptainN):
* cc: CaptainN (added)
Comment:
I made a proof of concept (check out the examples/BasicForm.php page):
https://github.com/adcSTUDIO/OnceForm
Personally, I think that's pretty spiffy. I'll probably build off of this
further to throw some proofs together that can automatically wire up
settings, custom post types, or other meta data stuff in WordPress.
I should be able to replace the boilerplate for almost the full turnaround
- start by defining the fields as HTML5 (with requirements and
validation), set some variables for metadata names (and groupings), and
then just let the WPOnceForm handle the form postback, the
sanity/security/validation, and store the data - all of that almost
completely automatic, driven off of an HTML5 form template.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18285#comment:74>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list