Opened 13 years ago
Closed 13 years ago
#18759 closed defect (bug) (duplicate)
Errant </script> tag in media_upload_form()
Reported by: | ryanhellyer | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.3 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
New media-new.php page contains an errant </script> tag. The error is in media_upload_form() in wp-admin/includes/media.php
<form enctype="multipart/form-data" method="post" action="http://localhost/trunk/wp-admin/media-upload.php?inline=&upload-page-form=" class="media-upload-form type-form validate" id="file-form"> </script>
This is my first patched ticket ever, so apologise if I screw any of this up.
Here's a patch for it:
http://demo.pixopoint.com/static/remove-script-tag.diff
Change History (1)
Note: See
TracTickets for help on using
tickets.
#18760 Oops :)