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 +5 -5 2.6.13 → 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'])) {
@@ -150,9 +150,9 @@
150 150 $show_flywheel = defined('FLYWHEEL_CONFIG_DIR');
151 151 ?>
152 152 <div style="background: var(--dashboard-card-bg); padding: 20px; border-radius: 8px;">
153 153 <p style="color: var(--dashboard-text-secondary); margin: 0 0 20px 0;">
154 - Configure CDN credentials for cache-tag purging. When enabled, cache-tag headers are added to OTTO-processed pages so CDNs can purge by post ID.
154 + Configure CDN credentials for cache-tag purging. When enabled, cache-tag headers are added to <?php echo esc_html(Metasync::get_whitelabel_otto_name()); ?>-processed pages so CDNs can purge by post ID.
155 155 </p>
156 156
157 157 <?php wp_nonce_field(self::NONCE_ACTION, self::NONCE_FIELD); ?>
158 158
@@ -212,13 +212,13 @@
212 212 ), !$has_more_after_sevalla, 'Uses v3 edge cache purge API with v2 fallback. If KinstaCache mu-plugin is available, native purge is used instead.');
213 213 }
214 214
215 215 if ($show_cloudways) {
216 - self::render_provider('cloudways', 'Cloudways', 'purges Varnish cache per URL', $settings, array(), !$show_flywheel, 'Detected Cloudways Varnish. Enable to purge Varnish on each OTTO update.');
216 + self::render_provider('cloudways', 'Cloudways', 'purges Varnish cache per URL', $settings, array(), !$show_flywheel, sprintf('Detected Cloudways Varnish. Enable to purge Varnish on each %s update.', Metasync::get_whitelabel_otto_name()));
217 217 }
218 218
219 219 if ($show_flywheel) {
220 - self::render_provider('flywheel', 'Flywheel', 'full cache flush on OTTO updates', $settings, array(), true, 'Detected Flywheel hosting. Enable to clear cache on each OTTO update.');
220 + self::render_provider('flywheel', 'Flywheel', sprintf('full cache flush on %s updates', Metasync::get_whitelabel_otto_name()), $settings, array(), true, sprintf('Detected Flywheel hosting. Enable to clear cache on each %s update.', Metasync::get_whitelabel_otto_name()));
221 221 }
222 222 ?>
223 223 </div>
224 224 </div>
@@ -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); ?>"