Added detection for Yoast Wordpress SEO plugin

This commit is contained in:
Christian Mehlmauer
2014-08-30 12:18:31 +02:00
parent 3131c6cb5d
commit 12dfc60f75

View File

@@ -68,6 +68,10 @@ class WpPlugins < WpItems
wp_plugins.add('all-in-one-seo-pack', version: $1)
end
if body =~ /<!-- This site is optimized with the Yoast WordPress SEO plugin v([^\s]+) -/i
wp_plugins.add('wordpress-seo', version: $1)
end
wp_plugins
end