elementor / elementor/WordPressURLDetector
remove network dependency for Sitemap detection
Open
- Dominant language
- PHP
- Stars
- 11
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
currently, in https://github.com/leonstafford/WordPressURLDetector/blob/main/src/DetectSitemaps.php, I'm making Guzzle requests to sitemap and robots.txt URLs. This makes things harder to test and the library more brittle.
Removing any network requests will ease usage, remove need to provide curl options for auth/ports, etc.
There should be an easier way to interrogate WP, Yoast, etc for the sitemap contents.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.