Changeset 3544
- Timestamp:
- 02/17/2006 02:05:40 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/inline-uploading.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/inline-uploading.php
r3541 r3544 235 235 $ypadding = (96 - $image['uheight']) / 2; 236 236 $style .= "#target{$ID} img { padding: {$ypadding}px {$xpadding}px; }\n"; 237 $title = htmlentities($image['post_title'], ENT_QUOTES);237 $title = wp_specialchars($image['post_title'], ENT_QUOTES); 238 238 $script .= "aa[{$ID}] = '<a id=\"p{$ID}\" rel=\"attachment\" class=\"imagelink\" href=\"$href\" onclick=\"doPopup({$ID});return false;\" title=\"{$title}\">'; 239 239 ab[{$ID}] = '<a class=\"imagelink\" href=\"{$image['guid']}\" onclick=\"doPopup({$ID});return false;\" title=\"{$title}\">'; … … 255 255 "; 256 256 } else { 257 $title = htmlentities($attachment['post_title'], ENT_QUOTES);257 $title = wp_specialchars($attachment['post_title'], ENT_QUOTES); 258 258 $filename = basename($attachment['guid']); 259 259 $icon = get_attachment_icon($ID);
Note: See TracChangeset
for help on using the changeset viewer.