[wp-trac] [WordPress Trac] #15064: Template function for wp-admin submit buttons
WordPress Trac
wp-trac at lists.automattic.com
Wed Nov 24 15:51:15 UTC 2010
#15064: Template function for wp-admin submit buttons
----------------------------+-----------------------------------------------
Reporter: markjaquith | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.1
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+-----------------------------------------------
Changes (by duck_):
* status: closed => reopened
* resolution: fixed =>
Comment:
If you pass an ID attribute to `submit_button` in the `$other_attributes`
parameter then you will end up with a duplicated ID attribute.
Example in wp-admin/user-new.php:
{{{
<input type="submit" name="createuser" id="createusersub" class="button-
primary" value="Add User " id="createusersub" />
}}}
Patch attached.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15064#comment:36>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list