Changeset 22747 for trunk/wp-includes/media.php
- Timestamp:
- 11/21/2012 11:50:30 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/media.php
r22743 r22747 226 226 $hwstring = image_hwstring($width, $height); 227 227 228 $title = $title ? 'title="' . esc_attr( $title ) . '" ' : ''; 229 228 230 $class = 'align' . esc_attr($align) .' size-' . esc_attr($size) . ' wp-image-' . $id; 229 231 $class = apply_filters('get_image_tag_class', $class, $id, $align, $size); 230 232 231 $html = '<img src="' . esc_attr($img_src) . '" alt="' . esc_attr($alt) . '" ' .$hwstring.'class="'.$class.'" />';233 $html = '<img src="' . esc_attr($img_src) . '" alt="' . esc_attr($alt) . '" ' . $title . $hwstring . 'class="' . $class . '" />'; 232 234 233 235 $html = apply_filters( 'get_image_tag', $html, $id, $alt, $title, $align, $size );
Note: See TracChangeset
for help on using the changeset viewer.