Changeset 44843
- Timestamp:
- 03/12/2019 10:31:55 PM (6 years ago)
- Location:
- branches/5.1
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.1
-
branches/5.1/src/wp-admin/includes/ajax-actions.php
r44537 r44843 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 } -
branches/5.1/src/wp-includes/comment.php
r44659 r44843 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.