fix bad embeds
This commit is contained in:
parent
506853adcd
commit
144f241c5d
2 changed files with 4 additions and 1 deletions
2
boot.php
2
boot.php
|
@ -7,7 +7,7 @@ require_once('include/text.php');
|
|||
require_once("include/pgettext.php");
|
||||
|
||||
|
||||
define ( 'FRIENDIKA_VERSION', '2.2.1083' );
|
||||
define ( 'FRIENDIKA_VERSION', '2.2.1084' );
|
||||
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
|
||||
define ( 'DB_UPDATE_VERSION', 1082 );
|
||||
|
||||
|
|
|
@ -80,6 +80,9 @@ function localize_item(&$item){
|
|||
|
||||
}
|
||||
|
||||
// fix bad embeds
|
||||
$item['body'] = str_replace('http://www.youtube.com/embed/http:','http:',$item['body']);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue