Changeset 44844 for branches/5.0
- Timestamp:
- 03/12/2019 10:32:54 PM (7 years ago)
- Location:
- branches/5.0
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
src/wp-admin/includes/ajax-actions.php (modified) (1 diff)
-
src/wp-includes/comment.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0
-
branches/5.0/src/wp-admin/includes/ajax-actions.php
r44047 r44844 1071 1071 kses_remove_filters(); // start with a clean slate 1072 1072 kses_init_filters(); // set up the filters 1073 remove_filter( 'pre_comment_content', 'wp_filter_post_kses' ); 1074 add_filter( 'pre_comment_content', 'wp_filter_kses' ); 1073 1075 } 1074 1076 } -
branches/5.0/src/wp-includes/comment.php
r43819 r44844 3099 3099 kses_remove_filters(); // start with a clean slate 3100 3100 kses_init_filters(); // set up the filters 3101 remove_filter( 'pre_comment_content', 'wp_filter_post_kses' ); 3102 add_filter( 'pre_comment_content', 'wp_filter_kses' ); 3101 3103 } 3102 3104 }
Note: See TracChangeset
for help on using the changeset viewer.