[wp-trac] [WordPress Trac] #15064: Template function for wp-admin submit buttons
WordPress Trac
wp-trac at lists.automattic.com
Thu Nov 4 05:15:58 UTC 2010
#15064: Template function for wp-admin submit buttons
----------------------------+-----------------------------------------------
Reporter: markjaquith | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.1
Component: Administration | Version:
Severity: normal | Keywords: has-patch
----------------------------+-----------------------------------------------
Comment(by nacin):
true/false for a wrapper argument is kind of lame/non-descriptive and goes
against our philosophy of having clear parameters for functions. We
already have a bunch of arguments here.
Wrap is only used 21 times per sbressler. What if we manually wrapped <p>,
and assume that most use cases is just I can haz submit button?
Granted, a plugin would need to do `<p><?php submit_button(); ?></p>` but
at least it allows for flexibility without being overbearing to customize.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15064#comment:25>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list