diff --git a/app/views/cli/wp_version/version.erb b/app/views/cli/wp_version/version.erb index f83052ed..d67b27e0 100644 --- a/app/views/cli/wp_version/version.erb +++ b/app/views/cli/wp_version/version.erb @@ -1,5 +1,5 @@ <% if @version -%> -<%= info_icon %> WordPress version <%= @version.number %> identified (<%= @version.status.capitalize %>, released on <%= @version.release_date %>). +<%= info_icon %> WordPress version <%= @version.number %> identified (<%= @version.status.tr('-', '_').humanize %>, released on <%= @version.release_date %>). <%= render('@finding', item: @version) -%> <% else -%> <%= notice_icon %> The WordPress version could not be detected. diff --git a/spec/output/wp_version/with_vulns.cli_no_colour b/spec/output/wp_version/with_vulns.cli_no_colour index 702156ae..2e5f57fd 100644 --- a/spec/output/wp_version/with_vulns.cli_no_colour +++ b/spec/output/wp_version/with_vulns.cli_no_colour @@ -1,4 +1,4 @@ -[+] WordPress version 3.8.1 identified (Outdated-via-api, released on 2014-01-23-via-api). +[+] WordPress version 3.8.1 identified (Outdated via api, released on 2014-01-23-via-api). | Found By: rspec | | [!] 2 vulnerabilities identified: