Make WordPress Core


Ignore:
Timestamp:
03/14/2007 11:10:57 PM (19 years ago)
Author:
markjaquith
Message:

nonce-protect comments by users with unfiltered_html cap to prevent xsrf/xss. fixes #3973 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-filters.php

    r5032 r5039  
    3131add_filter('pre_comment_author_email', 'wp_filter_kses');
    3232add_filter('pre_comment_author_url', 'wp_filter_kses');
     33
     34add_action('comment_form', 'wp_comment_form_unfiltered_html_nonce');
    3335
    3436// Default filters for these functions
Note: See TracChangeset for help on using the changeset viewer.