• 13-05-2014, 23:21:05
    #1
    Kimlik doğrulama veya yönetimden onay bekliyor.
    Üzgünüm, bu dosya türüne güvenlik nedeniyle izin verilmiyor. böyle hata alıyorum googleda baktım ama yapsamda olmuyor başka bir çözümü varmıdır?
  • 13-05-2014, 23:26:37
    #2
    Kimlik doğrulama veya yönetimden onay bekliyor.


    Function.php

    function swf($mimes) {
    	if ( function_exists( 'current_user_can' ) )
    		$unfiltered = $user ? user_can( $user, 'unfiltered_html' ) : current_user_can( 'unfiltered_html' );
    	if ( !empty( $unfiltered ) ) {
    		$mimes['swf'] = 'application/x-shockwave-flash';
    	}
    	return $mimes;
    }
    add_filter('upload_mimes','swf');
  • 13-05-2014, 23:37:54
    #3
    Üyeliği durduruldu
    IhsanNet adlı üyeden alıntı: mesajı görüntüle


    Function.php

    function swf($mimes) {
    	if ( function_exists( 'current_user_can' ) )
    		$unfiltered = $user ? user_can( $user, 'unfiltered_html' ) : current_user_can( 'unfiltered_html' );
    	if ( !empty( $unfiltered ) ) {
    		$mimes['swf'] = 'application/x-shockwave-flash';
    	}
    	return $mimes;
    }
    add_filter('upload_mimes','swf');
    Teşekkürlerde nereye atacağım bu yazıyı tam olarak?
  • 13-05-2014, 23:41:47
    #4
    Kirkbir adlı üyeden alıntı: mesajı görüntüle
    Teşekkürlerde nereye atacağım bu yazıyı tam olarak?
    temanızın içindeki function.php ekleyin hocam.