Skip to content

Commit

Permalink
who.is service changed the keyword for domain age.
Browse files Browse the repository at this point in the history
fixed #3727
  • Loading branch information
halfdan committed Feb 4, 2013
1 parent 2a0f2dd commit 23011aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/SEO/RankChecker.php
Expand Up @@ -202,7 +202,7 @@ protected function _getAgeWhoIs()
$url = preg_replace('/^www\./', '', $this->url);
$url = 'http://www.who.is/whois/' . urlencode($url);
$data = $this->getPage($url);
preg_match('#(?:Creation Date|Created On)\.*:\s*([ \ta-z0-9\/\-:\.]+)#si', $data, $p);
preg_match('#(?:Creation Date|Created On|Registered on)\.*:\s*([ \ta-z0-9\/\-:\.]+)#si', $data, $p);
if (!empty($p[1])) {
$value = strtotime(trim($p[1]));
if ($value === false) {
Expand Down

0 comments on commit 23011aa

Please sign in to comment.