From 57fe916762d3de65db501e07cb92705d936622cf Mon Sep 17 00:00:00 2001 From: Elbert Alias <77259+AliasIO@users.noreply.github.com> Date: Sat, 11 Sep 2021 08:20:41 +1000 Subject: [PATCH] Fix WordPress version detection --- src/technologies/w.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/technologies/w.json b/src/technologies/w.json index 155d0228c..19e14b5b7 100644 --- a/src/technologies/w.json +++ b/src/technologies/w.json @@ -836,7 +836,7 @@ "wp_username": "" }, "meta": { - "generator": "^WordPress ?([\\d.]+)?\\;version:\\1", + "generator": "^WordPress(?: ([\\d.]+))?\\;version:\\1", "shareaholic:wp_version": "" }, "pricing": [ @@ -994,4 +994,4 @@ "url": "^https?://[^/]+\\.wpcache\\.co", "website": "https://wpcache.co" } -} \ No newline at end of file +}