Improve wordpress detection pattern taking into account simple quote for rel attribute.

Add wp-includes in addition of wp-content
main
anthony 11 years ago
parent 365273ef37
commit 9f86edc653

@ -2846,7 +2846,7 @@
"website": "wordpress.org", "website": "wordpress.org",
"cats": [ 1, 11 ], "cats": [ 1, 11 ],
"meta": { "generator": "WordPress( [\\d.]+)?\\;version:\\1" }, "meta": { "generator": "WordPress( [\\d.]+)?\\;version:\\1" },
"html": "<link rel=\"stylesheet\" [^>]+wp-content", "html": "<link rel=(?:\"stylesheet\"|'stylesheet') [^>]+(?:wp-content|wp-includes)",
"env": "^wp_username$", "env": "^wp_username$",
"implies": "PHP" "implies": "PHP"
}, },