Skip to content

Commit 784a3dc

Browse files
authored
Implement is_wordpress_site for api discovery (#536)
* Implement simplified version of is_wordpress_site_discovery * Implement fetch /wp-json as part of is-wordpress-site discovery * Parse html in is_wordpress_site * Introduce IsWordPressSiteParseHtmlResult * Search link, script & style tags for wp-content & wp-includes * Add is_wordpress_site helpers * Add assertion to test_is_wordpress_site * Only check the `href` of `link` and `src` of `script` for is_wordpress_site
1 parent 01bfbc5 commit 784a3dc

File tree

6 files changed

+987
-343
lines changed

6 files changed

+987
-343
lines changed

0 commit comments

Comments
 (0)