Make WordPress Core

Opened 19 years ago

Closed 18 years ago

Last modified 14 years ago

#431 closed defect (bug) (fixed)

typo in upload.php with $piece_of_code

Reported by: anonymousbugger's profile anonymousbugger Owned by: matt's profile matt
Milestone: Priority: normal
Severity: minor Version: 1.2
Component: Administration Keywords:
Focuses: Cc:


The generated $piece_of_code in case the file is not an image, is this:
"<a href="". get_settings('fileupload_url') . "/$img1_name" title="$imgdesc" />$imgdesc</a>";

The open-anchor is already closed with the / before >

The correct code should be
"<a href="". get_settings('fileupload_url') . "/$img1_name" title="$imgdesc" >$imgdesc</a>";

Change History (4)

#2 @anonymousbugger
19 years ago

This happens around line 208 in upload.php in directory wp-admin

#3 @patrickdepinguin
19 years ago

I was the poster, and noticed that a similar solution was suggested here:


#4 @matt
18 years ago

  • fixed_in_version set to 1.5
  • Owner changed from anonymous to matt
  • Resolution changed from 10 to 20
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.