Skip to content

Commit 694dd13

Browse files
committed
corrected error present in debug mode, minor version update
1 parent b3deb31 commit 694dd13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wp-tevko-responsive-images.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Plugin Name: WP Tevko Responsive Images
55
Plugin URI: http://timevko.com
66
Description: Fully responsive image solution using picturefill and the ID of your image.
7-
Version: 1.0.0
7+
Version: 1.0.1
88
Author: Tim Evko
99
Author URI: http://timevko.com
1010
License: MIT
@@ -63,7 +63,7 @@ function tevkori_responsive_shortcode( $atts ) {
6363
<!--[if IE 9]><video style="display: none;"><![endif]-->'
6464
. tevkori_get_picture_srcs( $imageid, $mappings ) .
6565
'<!--[if IE 9]></video><![endif]-->
66-
<img srcset="' . wp_get_attachment_image_src( $imageid, $type ) . '" alt="' . tevkori_get_img_alt( $imageid ) . '">
66+
<img srcset="' . wp_get_attachment_image_src( $imageid[0] ) . '" alt="' . tevkori_get_img_alt( $imageid ) . '">
6767
<noscript>' . wp_get_attachment_image( $imageid, $mappings[0] ) . ' </noscript>
6868
</picture>';
6969
}

0 commit comments

Comments
 (0)