mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Semi-colon semi-bug
git-svn-id: http://svn.automattic.com/wordpress/trunk@2352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b6890e8937
commit
78842f0672
@ -200,7 +200,7 @@ die();
|
||||
}
|
||||
|
||||
if ( ereg('image/',$img1_type) )
|
||||
$piece_of_code = "<img src=';". get_settings('fileupload_url') ."/$img1_name' alt='$imgdesc' />";
|
||||
$piece_of_code = "<img src='" . get_settings('fileupload_url') ."/$img1_name' alt='$imgdesc' />";
|
||||
else
|
||||
$piece_of_code = "<a href='". get_settings('fileupload_url') . "/$img1_name' title='$imgdesc'>$imgdesc</a>";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user