protected function replace_urls($content, $url_pairs)
{
if (empty($url_pairs)) {
// No URLs to replace return
return $content;
}
foreach ($url_pairs as $find => $replace) {
$replace = $this->normalize_replace_value($replace);
$content = str_replace($find, $replace, $content);
}
return $content;
}