Changeset 44842
- Timestamp:
- 03/12/2019 10:29:46 PM (6 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r44809 r44842 1215 1215 kses_remove_filters(); // start with a clean slate 1216 1216 kses_init_filters(); // set up the filters 1217 remove_filter( 'pre_comment_content', 'wp_filter_post_kses' ); 1218 add_filter( 'pre_comment_content', 'wp_filter_kses' ); 1217 1219 } 1218 1220 } -
trunk/src/wp-includes/comment.php
r44659 r44842 3244 3244 kses_remove_filters(); // start with a clean slate 3245 3245 kses_init_filters(); // set up the filters 3246 remove_filter( 'pre_comment_content', 'wp_filter_post_kses' ); 3247 add_filter( 'pre_comment_content', 'wp_filter_kses' ); 3246 3248 } 3247 3249 }
Note: See TracChangeset
for help on using the changeset viewer.