| @@ -45,9 +45,9 @@ | ||
| 45 | 45 | ] |
| 46 | 46 | ]; |
| 47 | 47 | |
| 48 | 48 | // Get active tab |
| 49 | -$active_tab = isset($_GET['tab']) ? sanitize_text_field($_GET['tab']) : 'seo_metadata'; | |
| 49 | +$active_tab = isset($_GET['tab']) ? sanitize_text_field(wp_unslash($_GET['tab'])) : 'seo_metadata'; // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- read-only, allow-listed tab selection | |
| 50 | 50 | if (!array_key_exists($active_tab, $sections)) { |
| 51 | 51 | $active_tab = 'seo_metadata'; |
| 52 | 52 | } |
| 53 | 53 | ?> |
| @@ -631,9 +631,9 @@ | ||
| 631 | 631 | <label class="metasync-checkbox-item"> |
| 632 | 632 | <input type="checkbox" id="import-titles" checked> |
| 633 | 633 | <div class="metasync-checkbox-label"> |
| 634 | 634 | <strong>Import Titles</strong> |
| 635 | - <span>Copy SEO title metadata to MetaSync custom fields</span> | |
| 635 | + <span>Copy SEO title metadata to <?php echo esc_html(Metasync::get_effective_plugin_name()); ?> custom fields</span> | |
| 636 | 636 | </div> |
| 637 | 637 | </label> |
| 638 | 638 | |
| 639 | 639 | <label class="metasync-checkbox-item"> |
| @@ -639,9 +639,9 @@ | ||
| 639 | 639 | <label class="metasync-checkbox-item"> |
| 640 | 640 | <input type="checkbox" id="import-descriptions" checked> |
| 641 | 641 | <div class="metasync-checkbox-label"> |
| 642 | 642 | <strong>Import Descriptions</strong> |
| 643 | - <span>Copy SEO description metadata to MetaSync custom fields</span> | |
| 643 | + <span>Copy SEO description metadata to <?php echo esc_html(Metasync::get_effective_plugin_name()); ?> custom fields</span> | |
| 644 | 644 | </div> |
| 645 | 645 | </label> |
| 646 | 646 | |
| 647 | 647 | <label class="metasync-checkbox-item"> |
| @@ -647,9 +647,9 @@ | ||
| 647 | 647 | <label class="metasync-checkbox-item"> |
| 648 | 648 | <input type="checkbox" id="import-social-text" checked> |
| 649 | 649 | <div class="metasync-checkbox-label"> |
| 650 | 650 | <strong>Import Social Text</strong> |
| 651 | - <span>Copy OG and Twitter title/description metadata to MetaSync custom fields</span> | |
| 651 | + <span>Copy OG and Twitter title/description metadata to <?php echo esc_html(Metasync::get_effective_plugin_name()); ?> custom fields</span> | |
| 652 | 652 | </div> |
| 653 | 653 | </label> |
| 654 | 654 | |
| 655 | 655 | <label class="metasync-checkbox-item"> |
| @@ -655,9 +655,9 @@ | ||
| 655 | 655 | <label class="metasync-checkbox-item"> |
| 656 | 656 | <input type="checkbox" id="import-social-images" checked> |
| 657 | 657 | <div class="metasync-checkbox-label"> |
| 658 | 658 | <strong>Import Social Images</strong> |
| 659 | - <span>Copy OG and Twitter social sharing images to MetaSync custom fields</span> | |
| 659 | + <span>Copy OG and Twitter social sharing images to <?php echo esc_html(Metasync::get_effective_plugin_name()); ?> custom fields</span> | |
| 660 | 660 | </div> |
| 661 | 661 | </label> |
| 662 | 662 | |
| 663 | 663 | <label class="metasync-checkbox-item"> |
| @@ -663,9 +663,9 @@ | ||
| 663 | 663 | <label class="metasync-checkbox-item"> |
| 664 | 664 | <input type="checkbox" id="overwrite-existing"> |
| 665 | 665 | <div class="metasync-checkbox-label"> |
| 666 | 666 | <strong>Overwrite Existing Data</strong> |
| 667 | - <span>Replace existing MetaSync data if already present (default: skip posts with existing data)</span> | |
| 667 | + <span>Replace existing <?php echo esc_html(Metasync::get_effective_plugin_name()); ?> data if already present (default: skip posts with existing data)</span> | |
| 668 | 668 | </div> |
| 669 | 669 | </label> |
| 670 | 670 | </div> |
| 671 | 671 | |