From ed12267808104dc799a0a7d63a8f04fbb2f263e3 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 24 Nov 2018 03:42:56 +0000 Subject: [PATCH] Improve a bit wordpress detection (#2534) --- src/apps.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/apps.json b/src/apps.json index e0040da64..0759ee03a 100644 --- a/src/apps.json +++ b/src/apps.json @@ -11028,7 +11028,7 @@ 11 ], "html": [ - "]+wp-(?:content|includes)", + "]+/wp-(?:content|includes)/", "]*class=[\"']amp-wp-", "]+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": [