Alıntı
for($i=1; $i<=50; $i++){

$baslik = $_POST["ad$i"];
$nasil = $_POST["link$i"];
//$kat = $_POST['kat'];
//$sef = $_POST['textarea2'];
echo $baslik;
setlocale(LC_COLLATE, 'turkish');
mysql_query("SET NAMES 'utf8'");

$baslik= iconv('ISO-8859-9', 'UTF-8', $baslik);
$nasil= iconv('ISO-8859-9', 'UTF-8', $nasil);
//$sef= iconv('ISO-8859-9', 'UTF-8', $sef);

$insert_post = array();
$insert_post['post_title'] = $baslik;
$insert_post['post_content'] = $nasil;
//$insert_post['tags_input'] = $sef;
$insert_post['post_status'] = 'publish';
$insert_post['post_author'] = 1; //Admin
//$insert_post['post_category'] = array($kategori);
if ($pid = wp_insert_post($insert_post))
{
echo "<center><b>IÇERIK EKLENDI</b></center>";
}
}
kod bu.$nasil değişkeninde <object karakteri olduğunda hiçbir şey post etmiyor. yani youtube embedini göndermiyor. ilginçtir bazen de gönderiyor