diff --git a/includes/sanitizers/class-amp-allowed-tags-generated.php b/includes/sanitizers/class-amp-allowed-tags-generated.php index aaf60cbbb8c..b7763beb089 100644 --- a/includes/sanitizers/class-amp-allowed-tags-generated.php +++ b/includes/sanitizers/class-amp-allowed-tags-generated.php @@ -49,6 +49,7 @@ class AMP_Allowed_Tags_Generated { 'li', 'mark', 'nav', + 'noscript', 'ol', 'option', 'p', @@ -3173,7 +3174,6 @@ class AMP_Allowed_Tags_Generated { 4, ), ), - 'bento' => false, 'requires_extension' => array( 'amp-facebook-comments', ), @@ -3202,7 +3202,6 @@ class AMP_Allowed_Tags_Generated { 4, ), ), - 'bento' => true, 'requires_extension' => array( 'amp-facebook', ), @@ -3241,7 +3240,6 @@ class AMP_Allowed_Tags_Generated { 4, ), ), - 'bento' => false, 'requires_extension' => array( 'amp-facebook-like', ), @@ -3277,7 +3275,6 @@ class AMP_Allowed_Tags_Generated { 4, ), ), - 'bento' => true, 'requires_extension' => array( 'amp-facebook', ), @@ -3316,7 +3313,6 @@ class AMP_Allowed_Tags_Generated { 4, ), ), - 'bento' => false, 'requires_extension' => array( 'amp-facebook-page', ), @@ -3352,7 +3348,6 @@ class AMP_Allowed_Tags_Generated { 4, ), ), - 'bento' => true, 'requires_extension' => array( 'amp-facebook', ), @@ -5485,37 +5480,6 @@ class AMP_Allowed_Tags_Generated { ), ), ), - 'amp-redbull-player' => array( - array( - 'attr_spec_list' => array( - 'data-param-videoid' => array( - 'mandatory' => true, - ), - 'media' => array(), - 'noloading' => array( - 'value' => array( - '', - ), - ), - ), - 'tag_spec' => array( - 'amp_layout' => array( - 'supported_layouts' => array( - 2, - 3, - 4, - 6, - 7, - 8, - 9, - ), - ), - 'requires_extension' => array( - 'amp-redbull-player', - ), - ), - ), - ), 'amp-reddit' => array( array( 'attr_spec_list' => array( @@ -5858,6 +5822,33 @@ class AMP_Allowed_Tags_Generated { ), ), ), + 'amp-slikeplayer' => array( + array( + 'attr_spec_list' => array( + 'data-apikey' => array( + 'mandatory' => true, + ), + 'data-videoid' => array( + 'mandatory' => true, + ), + ), + 'tag_spec' => array( + 'amp_layout' => array( + 'supported_layouts' => array( + 5, + 6, + 2, + 3, + 4, + ), + ), + 'requires_extension' => array( + 'amp-slikeplayer', + ), + 'spec_url' => 'https://developers.slike.in/html5/', + ), + ), + ), 'amp-smartlinks' => array( array( 'attr_spec_list' => array( @@ -11729,6 +11720,13 @@ class AMP_Allowed_Tags_Generated { 'async', ), ), + 'fetchpriority' => array( + 'value_casei' => array( + 'high', + 'low', + 'auto', + ), + ), 'height' => array(), 'hspace' => array(), 'importance' => array( @@ -11811,6 +11809,13 @@ class AMP_Allowed_Tags_Generated { 'async', ), ), + 'fetchpriority' => array( + 'value_casei' => array( + 'high', + 'low', + 'auto', + ), + ), 'height' => array(), 'hspace' => array(), 'importance' => array( @@ -11890,6 +11895,13 @@ class AMP_Allowed_Tags_Generated { 'async', ), ), + 'fetchpriority' => array( + 'value_casei' => array( + 'high', + 'low', + 'auto', + ), + ), 'height' => array(), 'hspace' => array(), 'importance' => array( @@ -12075,6 +12087,13 @@ class AMP_Allowed_Tags_Generated { 'async', ), ), + 'fetchpriority' => array( + 'value_casei' => array( + 'high', + 'low', + 'auto', + ), + ), 'height' => array(), 'hspace' => array(), 'importance' => array( @@ -12157,6 +12176,13 @@ class AMP_Allowed_Tags_Generated { 'async', ), ), + 'fetchpriority' => array( + 'value_casei' => array( + 'high', + 'low', + 'auto', + ), + ), 'height' => array(), 'hspace' => array(), 'importance' => array( @@ -12236,6 +12262,13 @@ class AMP_Allowed_Tags_Generated { 'async', ), ), + 'fetchpriority' => array( + 'value_casei' => array( + 'high', + 'low', + 'auto', + ), + ), 'height' => array(), 'hspace' => array(), 'importance' => array( @@ -12318,6 +12351,13 @@ class AMP_Allowed_Tags_Generated { 'sync', ), ), + 'fetchpriority' => array( + 'value_casei' => array( + 'high', + 'low', + 'auto', + ), + ), 'height' => array(), 'hspace' => array(), 'importance' => array( @@ -13455,6 +13495,13 @@ class AMP_Allowed_Tags_Generated { ), 'color' => array(), 'crossorigin' => array(), + 'fetchpriority' => array( + 'value_casei' => array( + 'high', + 'low', + 'auto', + ), + ), 'href' => array(), 'hreflang' => array(), 'media' => array(), @@ -13483,6 +13530,13 @@ class AMP_Allowed_Tags_Generated { ), 'color' => array(), 'crossorigin' => array(), + 'fetchpriority' => array( + 'value_casei' => array( + 'high', + 'low', + 'auto', + ), + ), 'href' => array( 'disallowed_value_regex' => '__amp_source_origin', 'mandatory' => true, @@ -13523,6 +13577,13 @@ class AMP_Allowed_Tags_Generated { ), 'color' => array(), 'crossorigin' => array(), + 'fetchpriority' => array( + 'value_casei' => array( + 'high', + 'low', + 'auto', + ), + ), 'href' => array( 'disallowed_value_regex' => '__amp_source_origin', 'mandatory' => true, @@ -13593,6 +13654,13 @@ class AMP_Allowed_Tags_Generated { ), 'color' => array(), 'crossorigin' => array(), + 'fetchpriority' => array( + 'value_casei' => array( + 'high', + 'low', + 'auto', + ), + ), 'href' => array(), 'hreflang' => array(), 'imagesizes' => array(), @@ -13664,6 +13732,13 @@ class AMP_Allowed_Tags_Generated { ), 'color' => array(), 'crossorigin' => array(), + 'fetchpriority' => array( + 'value_casei' => array( + 'high', + 'low', + 'auto', + ), + ), 'href' => array( 'mandatory' => true, ), @@ -13694,6 +13769,13 @@ class AMP_Allowed_Tags_Generated { ), 'color' => array(), 'crossorigin' => array(), + 'fetchpriority' => array( + 'value_casei' => array( + 'high', + 'low', + 'auto', + ), + ), 'href' => array( 'mandatory' => true, ), @@ -13720,6 +13802,13 @@ class AMP_Allowed_Tags_Generated { ), 'color' => array(), 'crossorigin' => array(), + 'fetchpriority' => array( + 'value_casei' => array( + 'high', + 'low', + 'auto', + ), + ), 'href' => array( 'mandatory' => true, ), @@ -16349,10 +16438,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-accordion', 'requires_usage' => true, @@ -16664,10 +16749,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => false, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-audio', 'requires_usage' => true, @@ -16762,10 +16843,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-base-carousel', 'requires_usage' => true, @@ -16922,10 +16999,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-brightcove', 'requires_usage' => true, @@ -17145,10 +17218,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-dailymotion', 'requires_usage' => true, @@ -17181,10 +17250,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-date-countdown', 'requires_usage' => true, @@ -17217,10 +17282,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-date-display', 'requires_usage' => true, @@ -17346,10 +17407,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-embedly-card', 'requires_usage' => true, @@ -17414,10 +17471,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-facebook', 'requires_usage' => true, @@ -17543,10 +17596,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-fit-text', 'requires_usage' => true, @@ -17889,10 +17938,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-iframe', 'requires_usage' => true, @@ -18080,10 +18125,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-inline-gallery', 'requires_usage' => true, @@ -18147,10 +18188,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-instagram', 'requires_usage' => true, @@ -18307,10 +18344,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-lightbox', 'requires_usage' => true, @@ -18343,10 +18376,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-lightbox-gallery', 'requires_usage' => false, @@ -18474,10 +18503,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-mathml', 'requires_usage' => true, @@ -19102,7 +19127,7 @@ class AMP_Allowed_Tags_Generated { 'tag_spec' => array( 'extension_spec' => array( 'latest' => '0.1', - 'name' => 'amp-redbull-player', + 'name' => 'amp-reddit', 'requires_usage' => true, 'version' => array( '0.1', @@ -19132,11 +19157,11 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'latest' => '0.1', - 'name' => 'amp-reddit', + 'latest' => '1.0', + 'name' => 'amp-render', 'requires_usage' => true, 'version' => array( - '0.1', + '1.0', ), ), ), @@ -19163,11 +19188,11 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'latest' => '1.0', - 'name' => 'amp-render', + 'latest' => '0.1', + 'name' => 'amp-riddle-quiz', 'requires_usage' => true, 'version' => array( - '1.0', + '0.1', ), ), ), @@ -19195,7 +19220,7 @@ class AMP_Allowed_Tags_Generated { 'tag_spec' => array( 'extension_spec' => array( 'latest' => '0.1', - 'name' => 'amp-riddle-quiz', + 'name' => 'amp-script', 'requires_usage' => true, 'version' => array( '0.1', @@ -19226,10 +19251,11 @@ class AMP_Allowed_Tags_Generated { 'tag_spec' => array( 'extension_spec' => array( 'latest' => '0.1', - 'name' => 'amp-script', + 'name' => 'amp-selector', 'requires_usage' => true, 'version' => array( '0.1', + '1.0', ), ), ), @@ -19256,12 +19282,8 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', - 'name' => 'amp-selector', + 'name' => 'amp-sidebar', 'requires_usage' => true, 'version' => array( '0.1', @@ -19292,16 +19314,11 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', - 'name' => 'amp-sidebar', + 'name' => 'amp-skimlinks', 'requires_usage' => true, 'version' => array( '0.1', - '1.0', ), ), ), @@ -19329,7 +19346,7 @@ class AMP_Allowed_Tags_Generated { 'tag_spec' => array( 'extension_spec' => array( 'latest' => '0.1', - 'name' => 'amp-skimlinks', + 'name' => 'amp-slikeplayer', 'requires_usage' => true, 'version' => array( '0.1', @@ -19390,10 +19407,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-social-share', 'requires_usage' => true, @@ -19426,10 +19439,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-soundcloud', 'requires_usage' => true, @@ -19565,6 +19574,37 @@ class AMP_Allowed_Tags_Generated { ), ), ), + array( + 'attr_spec_list' => array( + 'async' => array( + 'mandatory' => true, + 'value' => array( + '', + ), + ), + 'crossorigin' => array( + 'value' => array( + 'anonymous', + ), + ), + 'nonce' => array(), + 'type' => array( + 'value_casei' => array( + 'text/javascript', + ), + ), + ), + 'tag_spec' => array( + 'extension_spec' => array( + 'latest' => '0.1', + 'name' => 'amp-story-audio-sticker', + 'requires_usage' => true, + 'version' => array( + '0.1', + ), + ), + ), + ), array( 'attr_spec_list' => array( 'async' => array( @@ -19836,10 +19876,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-stream-gallery', 'requires_usage' => true, @@ -19967,10 +20003,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-timeago', 'requires_usage' => true, @@ -20034,10 +20066,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-twitter', 'requires_usage' => true, @@ -20101,10 +20129,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-video', 'requires_usage' => true, @@ -20168,10 +20192,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-video-iframe', 'requires_usage' => true, @@ -20204,10 +20224,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-vimeo', 'requires_usage' => true, @@ -20395,10 +20411,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '1.0', 'name' => 'amp-wordpress-embed', 'requires_usage' => true, @@ -20462,10 +20474,6 @@ class AMP_Allowed_Tags_Generated { ), 'tag_spec' => array( 'extension_spec' => array( - 'bento' => array( - 'has_css' => true, - 'version' => '1.0', - ), 'latest' => '0.1', 'name' => 'amp-youtube', 'requires_usage' => true,