Opened 15 years ago
Closed 15 years ago
#11933 closed enhancement (fixed)
Add filter/action to change form on profile page to enctype="multipart-form/data"
Reported by: | pampfelimetten | Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 2.9.1 |
Component: | General | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
As already discused three years ago(#3890), it would be great to change the enctype to multipart to allow easier integration of file upload at the backend. There are some plugins which change it on the fly with javascript, but I think it would be a lot cleaner to just have a filter/action for it.
Also see discussion here: #10518
As wp moves on to a fully featured cms, it should support an easy way to add additional files associated with users.
Attachments (1)
Change History (6)
#1
@
15 years ago
- Keywords has-patch dev-feedback added; multipart form profile upload files removed
#2
@
15 years ago
- Keywords commit added; dev-feedback removed
I can't come up with a better way to do this, looks good.
Note: See
TracTickets for help on using
tickets.
Patch adds do_action to form tag of user_new.php edit_user.php and edit-form-advanced.php.
I have seen numerous requests to do this for the post edit form on IRC so figured I'd throw it in here too.