undo the disabling of browser_prefetch and for the time being revert the HTML cache until we can isolate all the zid and observer calls. Also get rid of youtube and vimeo bbcode tags which we should not be using any more.
This commit is contained in:
@@ -15,7 +15,7 @@ function update_home_content(&$a) {
|
||||
$text = home_content($a,$profile_uid, $load);
|
||||
$pattern = "/<img([^>]*) src=\"([^\"]*)\"/";
|
||||
$replace = "<img\${1} dst=\"\${2}\"";
|
||||
$text = preg_replace($pattern, $replace, $text);
|
||||
// $text = preg_replace($pattern, $replace, $text);
|
||||
|
||||
if(! $load) {
|
||||
$replace = '<br />' . t('[Embedded content - reload page to view]') . '<br />';
|
||||
|
||||
Reference in New Issue
Block a user