Ok i found where it is caused. Please check what affect disabling the codelines have.
called by plugin: AME: Prep Text / postdata_presave
function can be found in:
includes/ame_bbcode.php -> function ame_prep_text:
Code:
$substitutes = array(
'%\[quote([^\]]*)\](.*?)\[/quote\]%sime',
'%\[php\](.*?)\[/php\]%sime',
'%\[html\](.*?)\[/html\]%sime',
'%\[code\](.*?)\[/code\]%sime',
);
when commenting them out, the variables DONT get removed from the post, and all still seems to work fine with the embed videos =
Bug is solved. But it needs someone to check what exactly that function is doing, maybe it is for security and commenting out is dangerous.
feedback please.