Rename Wordpress class
This commit is contained in:
parent
2b6c4f1b87
commit
ca2c035cfd
1 changed files with 1 additions and 1 deletions
|
|
@ -1,14 +0,0 @@
|
|||
<?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