Add WordPress
This commit is contained in:
parent
3a6a2f8174
commit
fd8773f3ec
1 changed files with 14 additions and 0 deletions
14
modules/Wordpress.php
Normal file
14
modules/Wordpress.php
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue