Skip to content

Commit c1a0f70

Browse files
committed
typos
1 parent 073a8c5 commit c1a0f70

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/msf/http/wordpress/version.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def wordpress_version
4040
#
4141
# @param [String] plugin_name The name of the plugin
4242
# @param [String] fixed_version The version the vulnerability was fixed in
43-
# @param [String] vuln_introduced_version Optional. The version the vulnerability was introduced.
43+
# @param [String] vuln_introduced_version Optional, the version the vulnerability was introduced
4444
#
4545
# @return [ Msf::Exploit::CheckCode ]
4646
def check_plugin_version_from_readme(plugin_name, fixed_version, vuln_introduced_version = nil)
@@ -49,9 +49,9 @@ def check_plugin_version_from_readme(plugin_name, fixed_version, vuln_introduced
4949

5050
# Checks a readme for a vulnerable version
5151
#
52-
# @param [String] theme_name The name of the plugin
52+
# @param [String] theme_name The name of the theme
5353
# @param [String] fixed_version The version the vulnerability was fixed in
54-
# @param [String] vuln_introduced_version Optional. The version the vulnerability was introduced.
54+
# @param [String] vuln_introduced_version Optional, the version the vulnerability was introduced
5555
#
5656
# @return [ Msf::Exploit::CheckCode ]
5757
def check_theme_version_from_readme(theme_name, fixed_version, vuln_introduced_version = nil)
@@ -60,7 +60,7 @@ def check_theme_version_from_readme(theme_name, fixed_version, vuln_introduced_v
6060

6161
private
6262

63-
# Used to check if the version is correct: must contain at least one dot.
63+
# Used to check if the version is correct: must contain at least one dot
6464
#
6565
# @return [ String ]
6666
def wordpress_version_pattern

0 commit comments

Comments
 (0)