PluginProbe
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO / 2.9.0
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO v2.9.0
2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.1 2.1.0 2.0.2 2.0.1 2.0.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 1.27.0 1.26.0 1.25.0 trunk 1.0.0 1.0.1 1.0.2 All 50 releases
← All changes | includes/admin/class-focus-keyword-ajax.php +1 -2 1.28.0 → 2.9.0 View file →
@@ -105,8 +105,9 @@
105 105
106 106 // The SEO Overview column edits only the PRIMARY focus keyword. Take the
107 107 // new primary from the input (first value if a list is pasted) and keep
108 108 // the existing secondary keywords so inline editing never drops them.
109 + // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- normalize() sanitize_text_field()s every value it keeps.
109 110 $raw_input = isset($_POST['focus_keyword']) ? wp_unslash($_POST['focus_keyword']) : '';
110 111 $new_primary = \ThinkRank\SEO\Focus_Keywords::normalize($raw_input, 1);
111 112
112 113 $existing = \ThinkRank\SEO\Focus_Keywords::get($post_id);
@@ -184,7 +185,5 @@
184 185 clean_post_cache( $post_id );
185 186
186 187 return ( $updated !== false );
187 188 }
188 -
189 189 }
190 -