[wp-trac] [WordPress Trac] #8960: Post edit form is missing enctype
field
WordPress Trac
wp-trac at lists.automattic.com
Sun Jan 25 14:17:55 GMT 2009
#8960: Post edit form is missing enctype field
----------------------------+-----------------------------------------------
Reporter: chrisnorthwood | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.8
Component: Administration | Version: 2.7
Severity: minor | Keywords: has-patch
----------------------------+-----------------------------------------------
The post edit form does not have an enctype, so if you have a plugin that
wants to upload a photo or other file alongside a blog post, it does not
work. This is documented at [http://www.tanzilo.com/2009/01/15/wordpress-
adding-a-custom-option-box-and-developing-file-upload-
plugin/#comment-446], with a workaround, and a similar problem is
discussed in #3890.
I've attached a patch. Adding an enctype has no ill effects, and makes
life for plugin authors easier.
--
Ticket URL: <http://trac.wordpress.org/ticket/8960>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list