Rename Wordpress class
This commit is contained in:
parent
2b6c4f1b87
commit
ca2c035cfd
1 changed files with 1 additions and 1 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