File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4
4
Plugin Name: WP Tevko Responsive Images
5
5
Plugin URI: http://timevko.com
6
6
Description: Fully responsive image solution using picturefill and the ID of your image.
7
- Version: 1.0.0
7
+ Version: 1.0.1
8
8
Author: Tim Evko
9
9
Author URI: http://timevko.com
10
10
License: MIT
@@ -63,7 +63,7 @@ function tevkori_responsive_shortcode( $atts ) {
63
63
<!--[if IE 9]><video style="display: none;"><![endif]--> '
64
64
. tevkori_get_picture_srcs ( $ imageid , $ mappings ) .
65
65
'<!--[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 ) . '">
67
67
<noscript> ' . wp_get_attachment_image ( $ imageid , $ mappings [0 ] ) . ' </noscript>
68
68
</picture> ' ;
69
69
}
You can’t perform that action at this time.
0 commit comments