#431 closed defect (bug) (fixed)
typo in upload.php with $piece_of_code
| Reported by: | anonymousbugger | Owned by: | matt |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 1.2 |
| Severity: | minor | Keywords: | |
| Cc: | Focuses: |
Description
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)
#3
@
22 years ago
I was the poster, and noticed that a similar solution was suggested here:
http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000026
Sorry!
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This happens around line 208 in upload.php in directory wp-admin