Changeset 52957 for trunk/src/wp-includes/media.php
- Timestamp:
- 03/19/2022 08:30:01 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r52837 r52957 394 394 $class = apply_filters( 'get_image_tag_class', $class, $id, $align, $size ); 395 395 396 $html = '<img src="' . esc_ attr( $img_src ) . '" alt="' . esc_attr( $alt ) . '" ' . $title . $hwstring . 'class="' . $class . '" />';396 $html = '<img src="' . esc_url( $img_src ) . '" alt="' . esc_attr( $alt ) . '" ' . $title . $hwstring . 'class="' . $class . '" />'; 397 397 398 398 /**
Note: See TracChangeset
for help on using the changeset viewer.