[wp-trac] [WordPress Trac] #15064: Template function for wp-admin submit buttons
WordPress Trac
wp-trac at lists.automattic.com
Tue Oct 26 08:48:19 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: needs-patch
----------------------------+-----------------------------------------------
Comment(by sbressler):
I counted 55 files still needing some submit_button love. Attached is a
patch for 22 of these.
I added two parameters to the function that I think make it much more
usable across core. I also default the id attribute to be the same as the
name. I considered adding a separate $id parameter, but decided against
that as of yet. That said, there are still some submit inputs in the
patched files that need a little more love because the id and name fields
are different and thus cannot be addressed by the current submit_button
method.
Btw, grep command I ran: `grep -R -i -l -c --include=*.php input\.*submit
*`
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15064#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list