Add WordPress

This commit is contained in:
Steffen Lange 2020-01-02 17:19:57 +01:00
parent 3a6a2f8174
commit fd8773f3ec

14
modules/Wordpress.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Wordpress extends PatchBase {
function __construct() {
parent::__construct('WordPress Foundation', 'WordPress', 'https://wordpress.org/');
}
function check() : bool {
if ($this->fetch('https://wordpress.org/download/'))
return $this->parse('/Download WordPress ([\d\.]+)/');
return false;
}
}
?>