Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#18760 closed defect (bug) (fixed)

Errant </script> tag in media_upload_form()

Reported by: ryanhellyer's profile ryanhellyer Owned by: duck_'s profile duck_
Milestone: 3.3 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.

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

@ryanhellyer
13 years ago

Patch for removing </script> tag

#1 @duck_
13 years ago

  • 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.

#2 @duck_
13 years ago

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