Changeset 53455 for trunk/src/wp-admin/includes/media.php
- Timestamp:
- 06/01/2022 06:12:25 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r53307 r53455 918 918 * @param string $title Media title. 919 919 */ 920 $html = apply_filters( "{$type}_send_to_editor_url", $html, esc_url_raw( $src ), $title );920 $html = apply_filters( "{$type}_send_to_editor_url", $html, sanitize_url( $src ), $title ); 921 921 } else { 922 922 $align = ''; … … 943 943 * 'alignleft', 'aligncenter', 'alignright', 'alignnone'. 944 944 */ 945 $html = apply_filters( 'image_send_to_editor_url', $html, esc_url_raw( $src ), $alt, $align );945 $html = apply_filters( 'image_send_to_editor_url', $html, sanitize_url( $src ), $alt, $align ); 946 946 } 947 947
Note: See TracChangeset
for help on using the changeset viewer.