[wp-trac] [WordPress Trac] #18285: New Settings API and workflow

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 30 09:39:43 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 westi):

 Replying to [comment:18 ryan]:
 > Just to see what it looks like, I took prettyboymp's API and made
 options-media.php work with it.  I had to s/admin_init/admin_head/ to get
 it working, which won't play nicely with plugins.

 Interesting.

 I don't particularly like how this works :)

 I think the first step here should be to take our current procedural api
 and flesh our a design for how we could extend it to provide the
 functionality we need.

 Then we can look at implementation choices (OO/Globals/...) that make the
 best sense.

 I think we can have a strong API which allows you to build flexible
 settings pages without overloading our memory usage with large objects or
 overly populates globals.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18285#comment:19>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list