[wp-trac] [WordPress Trac] #18759: Errant </script> tag in media_upload_form()

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 23 14:28:40 UTC 2011


#18759: Errant </script> tag in media_upload_form()
--------------------------+-----------------------------
 Reporter:  ryanhellyer   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.3
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 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=&amp
 ;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

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


More information about the wp-trac mailing list