diff --git a/src/wp-includes/widgets/class-wp-widget-media-image.php b/src/wp-includes/widgets/class-wp-widget-media-image.php
index e374b57..8a95135 100644
a
|
b
|
class WP_Widget_Media_Image extends WP_Widget_Media { |
329 | 329 | <# if ( data.url ) { #> |
330 | 330 | <p class="media-widget-image-link"> |
331 | 331 | <label for="{{ elementIdPrefix }}linkUrl"><?php esc_html_e( 'Link to:' ); ?></label> |
332 | | <input id="{{ elementIdPrefix }}linkUrl" type="url" class="widefat link" value="{{ data.link_url }}" placeholder="http://"> |
| 332 | <input id="{{ elementIdPrefix }}linkUrl" type="text" class="widefat link" value="{{ data.link_url }}" placeholder="http://" pattern="((\w+:)?\/\/\w.*|\w+:(?!\/\/$)|\/|\?|#).*"> |
333 | 333 | </p> |
334 | 334 | <# } #> |
335 | 335 | </script> |