Improve a bit wordpress detection (#2534)

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

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