From c9a12ef48357cd6cb3b34858e62de57161c6a834 Mon Sep 17 00:00:00 2001 From: Felix Arntz Date: Wed, 4 Jan 2023 12:44:41 -0800 Subject: [PATCH] Fix detection for Twenty Twenty-Two and Twenty Twenty-Three. --- src/technologies/t.json | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/technologies/t.json b/src/technologies/t.json index ae3fb23ad..7823f75fb 100644 --- a/src/technologies/t.json +++ b/src/technologies/t.json @@ -2932,8 +2932,12 @@ "cats": [ 80 ], - "css": "\\/wp-content\\/themes\\/twentytwentythree\\/assets\\/fonts\\/", "description": "Twenty Twenty-Three is the default WordPress theme for 2023.", + "dom": { + "style#webfonts-inline-css": { + "text": "/wp-content/themes/twentytwentythree/assets/fonts/" + } + }, "icon": "WordPress.svg", "pricing": [ "freemium" @@ -2945,9 +2949,15 @@ "cats": [ 80 ], - "css": "\\/wp-content\\/themes\\/twentytwentytwo\\/assets\\/fonts\\/", "description": "Twenty Twenty-Two is the default WordPress theme for 2022.", - "dom": "link#twentytwentytwo-style-css", + "dom": [ + "link#twentytwentytwo-style-css", + { + "style#webfonts-inline-css": { + "text": "/wp-content/themes/twentytwentytwo/assets/fonts/" + } + } + ], "icon": "WordPress.svg", "pricing": [ "freemium"