Closed jaredatch closed 7 years ago
Since 4.4 we can now simply output slightly by doing a wp_get_attachment_image_url call instead of using wp_get_attachment_image_scr and then checking isset($img[0]);
wp_get_attachment_image_url
wp_get_attachment_image_scr
isset($img[0]);
https://github.com/jaredatch/EA-Share-Count/blob/master/includes/class-front.php#L386
Since 4.4 we can now simply output slightly by doing a
wp_get_attachment_image_url
call instead of usingwp_get_attachment_image_scr
and then checkingisset($img[0]);
https://github.com/jaredatch/EA-Share-Count/blob/master/includes/class-front.php#L386