|
|
@@ -35,5 +35,10 @@ module Docs
|
|
|
© 2003–2019 WordPress Foundation<br>
|
|
|
Licensed under the GNU GPLv2+ License.
|
|
|
HTML
|
|
|
+
|
|
|
+ def get_latest_version(opts)
|
|
|
+ doc = fetch_doc('https://wordpress.org/download/releases/', opts)
|
|
|
+ doc.at_css('.releases.latest td').content
|
|
|
+ end
|
|
|
end
|
|
|
end
|