Add detection for all-in-one-seo-pack

Closes issue #332
This commit is contained in:
FireFart
2013-10-22 22:39:23 +02:00
parent 45d642d215
commit 706774bf61
2 changed files with 39 additions and 1 deletions

View File

@@ -64,6 +64,10 @@ class WpPlugins < WpItems
wp_plugins.add('wp-super-cache') if body =~ /wp-super-cache/i
wp_plugins.add('w3-total-cache') if body =~ /w3 total cache/i
if body =~ /<!-- all in one seo pack ([^\s]+)/i
wp_plugins.add('all-in-one-seo-pack', version: $1)
end
wp_plugins
end