PluginProbe
Search Atlas SEO – OTTO AI SEO Automation for WordPress / 2.7.1
Search Atlas SEO – OTTO AI SEO Automation for WordPress v2.7.1
2.7.1 2.7.2 2.7.0 2.6.26 2.6.25 2.6.24 2.6.23 2.6.22 2.6.21 2.6.20 2.6.19 2.6.18 2.6.17 2.6.16 2.6.15 2.6.14 2.6.13 2.6.12 2.6.11 2.6.10 2.6.9 2.6.8 2.6.7 2.6.6 2.6.5 All 141 releases
← All changes | code-snippets/class-metasync-code-snippets.php +4 -6 2.7.2 → 2.7.1 View file →
@@ -26,12 +26,11 @@
26 26 public function get_header_snippet()
27 27 {
28 28 $code_snippet_options = get_option(Metasync::option_name)['codesnippets'] ?? '';
29 29 $header_snippet_option = $code_snippet_options['header_snippet'] ?? '';
30 - // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- raw header/footer snippet feature: customers paste arbitrary analytics/GTM markup and it must render verbatim
31 30 echo $header_snippet_option;
32 - echo get_post_meta(get_the_ID())['custom_post_header'][0] ?? ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- raw per-post header snippet feature: customers paste arbitrary analytics/GTM markup and it must render verbatim
33 - echo get_post_meta(get_the_ID())['searchatlas_embed_top'][0] ?? ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- raw per-post header snippet feature: customers paste arbitrary analytics/GTM markup and it must render verbatim
31 + echo get_post_meta(get_the_ID())['custom_post_header'][0] ?? '';
32 + echo get_post_meta(get_the_ID())['searchatlas_embed_top'][0] ?? '';
34 33
35 34 }
36 35
37 36 /**
@@ -41,10 +40,9 @@
41 40 public function get_footer_snippet()
42 41 {
43 42 $code_snippet_options = get_option(Metasync::option_name)['codesnippets'] ?? '';
44 43 $footer_snippet_option = $code_snippet_options['footer_snippet'] ?? '';
45 - // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- raw header/footer snippet feature: customers paste arbitrary analytics/GTM markup and it must render verbatim
46 44 echo $footer_snippet_option;
47 - echo get_post_meta(get_the_ID())['custom_post_footer'][0] ?? ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- raw per-post footer snippet feature: customers paste arbitrary analytics/GTM markup and it must render verbatim
48 - echo get_post_meta(get_the_ID())['searchatlas_embed_bottom'][0] ?? ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- raw per-post footer snippet feature: customers paste arbitrary analytics/GTM markup and it must render verbatim
45 + echo get_post_meta(get_the_ID())['custom_post_footer'][0] ?? '';
46 + echo get_post_meta(get_the_ID())['searchatlas_embed_bottom'][0] ?? '';
49 47 }
50 48 }