diff --git a/lib/common/common_helper.rb b/lib/common/common_helper.rb index 92f8bef0..30f48a64 100644 --- a/lib/common/common_helper.rb +++ b/lib/common/common_helper.rb @@ -336,5 +336,5 @@ end # Check to see if we need a "s" def grammar_s(size) - size.to_i >= 1 ? "s" : "" + size.to_i >= 2 ? "s" : "" end \ No newline at end of file diff --git a/lib/wpscan/wp_target/wp_api.rb b/lib/wpscan/wp_target/wp_api.rb index de80ac86..2a52c4df 100644 --- a/lib/wpscan/wp_target/wp_api.rb +++ b/lib/wpscan/wp_target/wp_api.rb @@ -80,9 +80,7 @@ class WpTarget < WebSite table = Terminal::Table.new(headings: ['ID', 'Name', 'URL'], rows: users) puts table - return true end - return false end end end diff --git a/lib/wpscan/wp_target/wp_rss.rb b/lib/wpscan/wp_target/wp_rss.rb index 5239c045..1fc34839 100644 --- a/lib/wpscan/wp_target/wp_rss.rb +++ b/lib/wpscan/wp_target/wp_rss.rb @@ -62,9 +62,7 @@ class WpTarget < WebSite table = Terminal::Table.new(headings: ['Name'], rows: users) puts table - return true end - return false end end end