Make WordPress Core

Changeset 2352


Ignore:
Timestamp:
02/15/2005 11:25:59 PM (20 years ago)
Author:
saxmatt
Message:

Semi-colon semi-bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/upload.php

    r2331 r2352  
    201201
    202202if ( ereg('image/',$img1_type) )
    203     $piece_of_code = "<img src=';". get_settings('fileupload_url') ."/$img1_name' alt='$imgdesc' />";
     203    $piece_of_code = "<img src='" . get_settings('fileupload_url') ."/$img1_name' alt='$imgdesc' />";
    204204else
    205205    $piece_of_code = "<a href='". get_settings('fileupload_url') . "/$img1_name' title='$imgdesc'>$imgdesc</a>";
Note: See TracChangeset for help on using the changeset viewer.