WordPress.org

Make WordPress Core

Ticket #42740: 42740.diff

File 42740.diff, 806 bytes (added by audrasjb, 22 months ago)
  • src/wp-includes/widgets/class-wp-widget-media-image.php

    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 4ebc42d..8ce9487 100644
    a b class WP_Widget_Media_Image extends WP_Widget_Media { 
    320320                        <# if ( data.url ) { #>
    321321                        <p class="media-widget-image-link">
    322322                                <label for="{{ elementIdPrefix }}linkUrl"><?php esc_html_e( 'Link to:' ); ?></label>
    323                                 <input id="{{ elementIdPrefix }}linkUrl" type="url" class="widefat link" value="{{ data.link_url }}" placeholder="http://">
     323                                <input id="{{ elementIdPrefix }}linkUrl" type="text" class="widefat link" value="{{ data.link_url }}" placeholder="http://">
    324324                        </p>
    325325                        <# } #>
    326326                </script>