Ticket #16489: akismet.diff
File akismet.diff, 508 bytes (added by , 14 years ago) |
---|
-
akismet.php
504 504 505 505 if ( $akismet_comment_nonce_option == 'true' || $akismet_comment_nonce_option == '' ) 506 506 add_action( 'comment_form', 'akismet_add_comment_nonce' ); 507 508 if ( '3.0.5' == $wp_version ) { 509 remove_filter( 'comment_text', 'wp_kses_data' ); 510 if ( is_admin() ) 511 add_filter( 'comment_text', 'wp_kses_post' ); 512 } 513 No newline at end of file