rankmath / seo-by-rank-math

Rank Math is a revolutionary WordPress SEO Plugin that combines the features of many SEO tools and lets you multiply your traffic in the easiest way possible :bulb: :chart_with_upwards_trend: →
https://rankmath.com
107 stars 52 forks source link

The Sitemap settings page crashes for sites with 100,000+ terms #264

Open CodingSamurai opened 8 months ago

CodingSamurai commented 8 months ago

Describe the bug The Sitemap settings page is EXTREMELY non-performant if a site has a large number of tags (our site has over 100,000 tags) because it’s loading the tags as a set of checkboxes on the special sitemap settings pages. This makes the plugin close to unusable. Specifically the issue is at line 72 of /seo-by-rank-math-pro/includes/modules/news-sitemap/settings-news.php

Instead of grid of checkboxes on which terms to exclude you need to refactor these to be multiselect boxes where people can type the terms themselves.