Opened 20 months ago

Closed 20 months ago

Last modified 20 months ago

#18760 closed defect (bug) (fixed)

Errant </script> tag in media_upload_form()

Reported by: ryanhellyer Owned by: duck_
Priority: normal Milestone: 3.3
Component: General Version: 3.3
Severity: normal Keywords: has-patch
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.

Attachments (1)

remove-script-tag.diff (372 bytes) - added by ryanhellyer 20 months ago.
Patch for removing </script> tag

Download all attachments as: .zip

Change History (3)

Patch for removing </script> tag

  • Owner set to duck_
  • Resolution set to fixed
  • Status changed from new to closed

In [18758]:

Remove extraneous closing script tag. Props ryanhellyer. See r18482, #18206. Fixes #18760.

  • Milestone changed from Awaiting Review to 3.3
Note: See TracTickets for help on using tickets.