WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 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=&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

Change History (1)

comment:1 @duck_3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

#18760 Oops :)

Note: See TracTickets for help on using tickets.