[wp-trac] [WordPress Trac] #17163: Allow plugins to specify how their settings page looks using the Settings API

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 18 10:03:07 UTC 2011


#17163: Allow plugins to specify how their settings page looks using the Settings
API
-------------------------+------------------------------
 Reporter:  ptahdunbar   |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by ptahdunbar):

 Replying to [comment:3 andrewryno]:
 > Replying to [comment:2 ptahdunbar]:
 > > It currently doesnt add anything new for existing uses. It just adds a
 new optional step for developers who'd like to take advantage of the
 Settings API but have it displayed and styled the way they want it.
 >
 > I tried rewording that a bit after I looked at what you were proposing
 again. I don't mean extra for current uses since it's backwards
 compatible, but if you do want custom code, it initially to me seemed like
 much more code needed.
 You'd write custom code regardless... hence the initial reason for being
 able to customize the display. this is already a given.


 > > Again, there's no additional markup being added if your using the
 default output. For developers who want to custom the display, adding more
 markup is to be expected.
 >
 > Above.
 Above.


 > > How so? Examples would be great.
 >
 > As long as you use update_option() or post to options.php (just to name
 a couple) anything is possible. Just logged into a clients site and two
 plugins install that do this is All in One SEO and XML Sitemaps. If I
 looked through all the sites I've built, there would be dozens I could
 list off.
 Sure. and what you just described is exactly why the adoption rate of the
 Settings API blows. Doing the manual route doesn't make use of the
 Settings API at all, which is the whole point of this ticket.

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


More information about the wp-trac mailing list