Tighten a bit woocommerce detection (#2178)

main
jvoisin 7 years ago committed by Elbert Alias
parent 0c518d8ef5
commit fecd0a2a24

@ -10808,14 +10808,14 @@
}, },
"html": [ "html": [
"<!-- WooCommerce", "<!-- WooCommerce",
"<link rel='[^']+' id='woocommerce-(?:layout|smallscreen|general)-css' href='https?://[^/]+/wp-content/plugins/woocommerce/assets/css/woocommerce(?:-layout|-smallscreen|)\\.css?ver=([\\d.]+)'\\;version:\\1" "<link rel='[^']+' id='woocommerce-(?:layout|smallscreen|general)-css' href='https?://[^/]+/wp-content/plugins/woocommerce/assets/css/woocommerce(?:-layout|-smallscreen)?\\.css?ver=([\\d.]+)'\\;version:\\1"
], ],
"icon": "WooCommerce.png", "icon": "WooCommerce.png",
"implies": "WordPress", "implies": "WordPress",
"meta": { "meta": {
"generator": "WooCommerce ([\\d.]+)\\;version:\\1" "generator": "WooCommerce ([\\d.]+)\\;version:\\1"
}, },
"script": "woocommerce(?:\\.min)?\\.js(?:\\?ver=([0-9.]+))?\\;version:\\1", "script": "/woocommerce(?:\\.min)?\\.js(?:\\?ver=([0-9.]+))?\\;version:\\1",
"website": "http://www.woothemes.com/woocommerce" "website": "http://www.woothemes.com/woocommerce"
}, },
"Woopra": { "Woopra": {

Loading…
Cancel
Save