elementor / elementor/WordPressURLDetector

remove network dependency for Sitemap detection

Open
#1 0 comments 1 reaction 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.