I went to wp-included/kses.php and edit the code to disable this annoying filter (i am sorry)
it is annoying because i need to post my code onto the blog
if i don't, the system will automically filter out my < and > tag
let say #include <iostream>
once it is filter, it will only with #include
so i went ahead and made these two lines commented
//add_action('init', 'kses_init');
//add_action('set_current_user', 'kses_init');
it worked but my code
cout <<"hello-world!\n";
became
cout < <"hello-world!\n";
so i searched again and instead i made this change in the kses.php
[code] // Post filtering
// add_filter('content_save_pre', 'wp_filter_post_kses');
add_filter('excerpt_save_pre', 'wp_filter_post_kses');
// add_filter('content_filtered_save_pre', 'wp_filter_post_kses');
}
function disable_kses_content() {
remove_filter('content_save_pre', 'wp_filter_post_kses');
}
add_action('init','disable_kses_content',20);[/code]
but the result is the same
i can disable the filter, but the tag is no longer <<, it became < <
anyone can help me out to solve this problem?