From 5d9ee00567b0eba3db560928b6a9c1b5202dedbf Mon Sep 17 00:00:00 2001 From: Ashwin Ramaswami Date: Sun, 23 Aug 2020 15:05:03 -0400 Subject: [PATCH] Add wordpress version detection from scripts --- src/apps.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/apps.json b/src/apps.json index 164d00e48..9aceacc93 100644 --- a/src/apps.json +++ b/src/apps.json @@ -13400,7 +13400,10 @@ "generator": "^WordPress ?([\\d.]+)?\\;version:\\1", "shareaholic:wp_version": "" }, - "script": "/wp-(?:content|includes)/", + "script": [ + "/wp-(?:content|includes)/", + "wp-embed\\.min\\.js\\?ver=([\\d.]+)\\;version:\\1" + ], "website": "https://wordpress.org" }, "WordPress Super Cache": {