You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'AMP_Gallery_Block_Sanitizer' => [ // Note: Gallery block sanitizer must come after image sanitizers since itś logic is using the already sanitized images.
1513
+
AMP_Gallery_Block_Sanitizer::class => [ // Note: Gallery block sanitizer must come after image sanitizers since itś logic is using the already sanitized images.
1514
1514
'carousel_required' => ! is_array( $theme_support_args ), // For back-compat.
1515
1515
'native_img_used' => $native_img_used,
1516
1516
],
1517
-
'AMP_Block_Sanitizer' => [], // Note: Block sanitizer must come after embed / media sanitizers since its logic is using the already sanitized content.
1518
-
'AMP_Script_Sanitizer' => [],
1519
-
'AMP_Style_Sanitizer' => [],
1520
-
'AMP_Meta_Sanitizer' => [],
1521
-
'AMP_Layout_Sanitizer' => [],
1522
-
'AMP_Accessibility_Sanitizer' => [],
1517
+
AMP_Block_Sanitizer::class => [], // Note: Block sanitizer must come after embed / media sanitizers since its logic is using the already sanitized content.
1518
+
AMP_Script_Sanitizer::class => [],
1519
+
AMP_Style_Sanitizer::class => [],
1520
+
AMP_Meta_Sanitizer::class => [],
1521
+
AMP_Layout_Sanitizer::class => [],
1522
+
AMP_Accessibility_Sanitizer::class => [],
1523
1523
// Note: This validating sanitizer must come at the end to clean up any remaining issues the other sanitizers didn't catch.
1524
-
'AMP_Tag_And_Attribute_Sanitizer' => [
1524
+
AMP_Tag_And_Attribute_Sanitizer::class => [
1525
1525
'prefer_bento' => amp_is_bento_enabled(),
1526
1526
],
1527
1527
];
1528
1528
1529
1529
if ( ! empty( $theme_support_args['nav_menu_toggle'] ) ) {
_deprecated_file( __FILE__, '1.1', null, sprintf( esc_html__( '%1$s functionality has been moved to %2$s.', 'amp' ), 'AMP_Comment_Walker', 'AMP_Comments_Sanitizer' ) );
11
+
_deprecated_file( __FILE__, '1.1', null, esc_html( sprintf( __( '%1$s functionality has been moved to %2$s.', 'amp' ), AMP_Comment_Walker::class, AMP_Comments_Sanitizer::class ) ) );
0 commit comments