PluginProbe
Search Atlas SEO – OTTO AI SEO Automation for WordPress / 2.7.2
Search Atlas SEO – OTTO AI SEO Automation for WordPress v2.7.2
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 | admin/class-metasync-edge-cache-settings.php +2 -2 2.6.25 → 2.7.2 View file →
@@ -97,9 +97,9 @@
97 97 * @return bool True if saved.
98 98 */
99 99 public static function save_from_post($post = null) {
100 100 if ($post === null) {
101 - $post = $_POST;
101 + $post = $_POST; // phpcs:ignore WordPress.Security.NonceVerification.Missing -- every caller verifies a nonce and capability first
102 102 }
103 103
104 104 // Only save if at least one edge-cache field is present in the payload.
105 105 if (!isset($post['cache_tags_enabled'])) {
@@ -260,9 +260,9 @@
260 260 $enabled_key = $key . '_enabled';
261 261 $is_enabled = !empty($settings[$enabled_key]);
262 262 $border = $is_last ? '' : 'border-bottom: 1px solid var(--dashboard-border); padding-bottom: 20px; margin-bottom: 20px;';
263 263 ?>
264 - <div class="metasync-edge-provider" style="<?php echo $border; ?>">
264 + <div class="metasync-edge-provider" style="<?php echo esc_attr($border); ?>">
265 265 <label style="display: flex; align-items: center; gap: 10px; margin-bottom: 12px; cursor: pointer;">
266 266 <input type="hidden" name="<?php echo esc_attr($enabled_key); ?>" value="0" />
267 267 <input type="checkbox"
268 268 id="metasync-ec-<?php echo esc_attr($key); ?>"