Updates WP version output to handle future latest-in-branch status - Ref #1649
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<% if @version -%>
|
<% 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) -%>
|
<%= render('@finding', item: @version) -%>
|
||||||
<% else -%>
|
<% else -%>
|
||||||
<%= notice_icon %> The WordPress version could not be detected.
|
<%= notice_icon %> The WordPress version could not be detected.
|
||||||
|
|||||||
@@ -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
|
| Found By: rspec
|
||||||
|
|
|
|
||||||
| [!] 2 vulnerabilities identified:
|
| [!] 2 vulnerabilities identified:
|
||||||
|
|||||||
Reference in New Issue
Block a user