Improve a bit wordpress detection (#2534)

main
jvoisin 6 years ago committed by Elbert Alias
parent 243c33cd17
commit ed12267808

@ -11028,7 +11028,7 @@
11 11
], ],
"html": [ "html": [
"<link rel=[\"']stylesheet[\"'] [^>]+wp-(?:content|includes)", "<link rel=[\"']stylesheet[\"'] [^>]+/wp-(?:content|includes)/",
"<div[^>]*class=[\"']amp-wp-", "<div[^>]*class=[\"']amp-wp-",
"<link[^>]+s\\d+\\.wp\\.com" "<link[^>]+s\\d+\\.wp\\.com"
], ],
@ -11044,10 +11044,10 @@
"wp_username": "" "wp_username": ""
}, },
"meta": { "meta": {
"generator": "WordPress( [\\d.]+)?\\;version:\\1" "generator": "^WordPress ?([\\d.]+)?\\;version:\\1"
}, },
"script": "/wp-includes/", "script": "/wp-(?:content|includes)/",
"website": "http://wordpress.org" "website": "https://wordpress.org"
}, },
"WordPress Super Cache": { "WordPress Super Cache": {
"cats": [ "cats": [