[wp-trac] [WordPress Trac] #21014: Add Action to Form Tags In Settings Pages

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 18 19:04:15 UTC 2012


#21014: Add Action to Form Tags In Settings Pages
-------------------------+-----------------------------
 Reporter:  desrosj      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:  3.4
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 It would be nice to have additional hooks that allow adding attributes to
 form tags in settings pages.

 For example, if you would like to allow a user to upload an image in a
 settings page, you need to add the enctype attribute to the form tag.
 Having a hook would allow you to avoid doing this with JS.

 user-edit.php and user-new.php allow this using the 'user_edit_form_tag'
 and 'user_new_form_tag' hooks respectively, and it appears that edit-tag-
 form.php is adding this also.
 (http://core.trac.wordpress.org/ticket/15261)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21014>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list