BUG – featured image, version 1.0.77.35
-
So… You have a bug in your plugin:
file accelerated-mobile-pages/components/featured-image/featured-image.php
line 77:
$amp_html = '<amp-img data-hero src="'.esc_url($image[0]).'" srcset="'.esc_html($srcet).'" width="'.esc_attr($image[1]).'" height="'.esc_attr($image[2]).'" layout=responsive alt="'.esc_attr($alt).'"></amp-img>';
layout=responsive need to be layout=”responsive”
If you don’t put “” then you might have a problem in next part, where is the image’s alt, this might not display with the “” and Google Search Console will see it like an error in the amp structure.https://amp.dev/documentation/guides-and-tutorials/learn/amp-html-layout/?format=websites
You can see here how is correct!
- The topic ‘BUG – featured image, version 1.0.77.35’ is closed to new replies.