Changeset 7671
- Timestamp:
- 04/14/2008 07:47:07 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
wp-admin/includes/media.php (modified) (1 diff)
-
wp-includes/media.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r7655 r7671 58 58 $html = "<a href='".attribute_escape($url)."'$rel>$html</a>"; 59 59 60 $html = apply_filters( 'image_send_to_editor', $html, $id, $alt, $title, $align, $url );60 $html = apply_filters( 'image_send_to_editor', $html, $id, $alt, $title, $align, $url, $size ); 61 61 62 62 return $html; -
trunk/wp-includes/media.php
r7592 r7671 99 99 $html = '<img src="'.attribute_escape($img_src).'" alt="'.attribute_escape($alt).'" title="'.attribute_escape($title).'" '.$hwstring.'class="align'.attribute_escape($align).' size-'.attribute_escape($size).' wp-image-'.$id.'" />'; 100 100 101 $html = apply_filters( 'image_send_to_editor', $html, $id, $alt, $title, $align, $url ); 101 $url = ''; 102 $html = apply_filters( 'image_send_to_editor', $html, $id, $alt, $title, $align, $url, $size ); 102 103 103 104 return $html;
Note: See TracChangeset
for help on using the changeset viewer.