Change form on profile page to enctype="multipart-form/data"?
|Reported by:||benfreefly||Owned by:||anonymous|
I'm using a profile picture plugin that adds a picture upload section to the profile page. It does not have its own submit button, however, but rather uses the profile_update hook when the entire page is submitted. There is a problem with this however in at least IE7 (unsure about older IE versions) because the form on profile.php does not have the enctype='multipart-form/data' parameter. Firefox seems to recognize that part of the submission contains data without this parameter. Obviously this change can be made easily by those wishing to use this plugin, or similar plugins that might use an <input type=file> tag on the profile page, but requires a WP core edit which most users try to avoid. I offer the change up as a suggestion for future versions of WP.