AMP
PluginChangelog 9
Every release, newest first, as the vendor published it in the plugin’s changelog.
0.4.2
Fixed Security In the repository- Fix: Prevent validation errors for
htmltag (h/t Maxime2 and everyone else that reported this error) - Fix: Handle variable name conflict that was causing content_max_width to be ignored (h/t mimancillas)
- Fix: Prevent errors when nodes don't have attributes (h/t stephenmax)
- Fix: Back-compat for 4.5 (add sanitize_hex_color function, h/t xotihcan)
- Fix: Handle gif featured images (h/t protocolil)
- Documentation updates (props troyxmccall)
0.4.1
Fixed Not available yet- Fix: Don't fire the_content for featured image output
- Fix: Don't show comment link when disabled and no comments on post (h/t neotrope)
- Fix: strip
!importantfrom inline styles (h/t compointdesigner and enriccardonagmailcom)
0.4
New Fixed Security Not available yet- New template: spiffy, shiny, and has the fresh theme smell (props allancole and the Automattic Theme Team).
- Warning: The template update has potential breaking changes. Please see https://wordpress.org/support/topic/v0-4-whats-new-and-possible-breaking-changes/
- AMP Customizer: Pick your colours and make the template your own (props DrewAPicture and 10up)
- Fix: support for inline styles (props coreymckrill).
- Fix: no more fatal errors when tags not supported by post type (props david-binda)
- Fix: no more unnecessary
<br>tags. - Fix: sanitize children of removed nodes (like empty
<a>tags) (props Maxime2). - Fix: no more broken YouTube URLs with multiple ?s.
- Fix: properly handle tel and sms schemes (h/t soundstrategies).
- Fix: remove amp endpoint on deactivate.
- New filter:
amp_pre_get_permalinkif you want a completely custom AMP permalink.
0.3.3
New Improved Fixed Not available yet- Handle many more validation errors (props bcampeau and alleyinteractive).
- New filter:
amp_post_template_dir(props mustafauysal). - New template: Nav bar is now it's own template part (props jdevalk).
- Better ratio for YouTube embeds.
- Fix: better timezone handling (props rinatkhaziev).
- Fix: better handling of non-int dimensions (like
100%). - Fix: better handling of empty dimensions.
- Fix:
autoplayis a bool-like value. - Fix: breakage when using the
query_stringhook (h/t mkuplens). - Fix: don't break really large Twitter IDs.
- Fix: don't break Instagram shortcodes when using URLs with querystrings.
- Readme improvements (props nickjohnford, sotayamashita)
0.3.2
Improved Fixed Not available yet- Jetpack Stats support.
- Better version of Merriweather and use system fonts for sans-serif (props mattmiklic).
- Move font to stylesheet so it can be more easily overridden (props mattmiklic).
- Fix: Template loading issues on Windows. (Thanks to everyone who reported this, especially w33zy for pointing out the
validate_fileissue.) - Fix: don't run AMP on post comment feeds (props kraftbj).
- Fix: un-break pagination when using a static home page with multiple pages.
- Fix: force amp-iframe to use https to validate correctly (props mister-ben).
- Fix: validation for
targetandvideo/audioattributes. - Fix: clipped images in galleries (thanks tobaco).
0.3.1
Improved Fixed Not available yet- Allow custom query var (props vaurdan).
- Fix AMP URLs for non-pretty permalinks (props rakuishi).
- Fix for password-protected posts.
- Fix dimension extraction for schema-less or relative image URLs.
- Better fallback for images with no dimensions.
- Validation fixes for
atags (props kraftbj). - Updated AMP boilerplate.
- Allow
ontags for elements (props Steven Evatt). - Prefixed class names.
0.3
New Fixed Not available yet- Fetch dimensions for hotlinked images.
- Add amp-facebook support.
- Add some new actions and filters (e.g.
amp_init). - Fix validation errors for [gallery] shortcodes.
- Fix issues with path validation on Windows.
- Fix issues with really squeezed layout.
- Breaking change:
style.cssno longer contains the ` tag. If you have a custom stylesheet, you need to update it to remove the tag. - Breaking change:
single.phpno longer includes the AMP boilerplate styles. They are instead added via theamp_post_template_headhook. If you have a custom template, please remove the boilerplate styles.
0.2
Not available yet- Lots and lots and lots of compatibility and validation fixes
- Lots and lots and lots of improvements for customization
0.1
Not available yet- Initial version