Fix WordPress version detection

main
Elbert Alias 3 years ago
parent 80c79ea4de
commit 57fe916762

@ -836,7 +836,7 @@
"wp_username": "" "wp_username": ""
}, },
"meta": { "meta": {
"generator": "^WordPress ?([\\d.]+)?\\;version:\\1", "generator": "^WordPress(?: ([\\d.]+))?\\;version:\\1",
"shareaholic:wp_version": "" "shareaholic:wp_version": ""
}, },
"pricing": [ "pricing": [
@ -994,4 +994,4 @@
"url": "^https?://[^/]+\\.wpcache\\.co", "url": "^https?://[^/]+\\.wpcache\\.co",
"website": "https://wpcache.co" "website": "https://wpcache.co"
} }
} }