|
|
@ -2,7 +2,7 @@ module Docs
|
|
|
|
class Wordpress < UrlScraper
|
|
|
|
class Wordpress < UrlScraper
|
|
|
|
self.name = 'WordPress'
|
|
|
|
self.name = 'WordPress'
|
|
|
|
self.type = 'wordpress'
|
|
|
|
self.type = 'wordpress'
|
|
|
|
self.release = '5.8'
|
|
|
|
self.release = '5.9'
|
|
|
|
self.base_url = 'https://developer.wordpress.org/reference/'
|
|
|
|
self.base_url = 'https://developer.wordpress.org/reference/'
|
|
|
|
self.initial_paths = %w(
|
|
|
|
self.initial_paths = %w(
|
|
|
|
functions/
|
|
|
|
functions/
|
|
|
@ -32,7 +32,7 @@ module Docs
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
© 2003–2021 WordPress Foundation<br>
|
|
|
|
© 2003–2022 WordPress Foundation<br>
|
|
|
|
Licensed under the GNU GPLv2+ License.
|
|
|
|
Licensed under the GNU GPLv2+ License.
|
|
|
|
HTML
|
|
|
|
HTML
|
|
|
|
|
|
|
|
|
|
|
|