Skip to content

Commit

Permalink
Sync with 10up#2872
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccahum committed Jun 30, 2022
1 parent a051319 commit c29c594
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion includes/mappings/post/7-0.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,15 @@
* @return {array<string>} New filters
*/
'filter' => apply_filters( 'ep_default_analyzer_filters', array( 'ewp_word_delimiter', 'lowercase', 'stop', 'ewp_snowball' ) ),
'char_filter' => array( 'html_strip' ),
/**
* Filter Elasticsearch default analyzer's char_filter
*
* @since 4.3.0
* @hook ep_default_analyzer_char_filter
* @param {array<string>} $char_filter Default filter
* @return {array<string>} New filter(s)
*/
'char_filter' => apply_filters( 'ep_default_analyzer_char_filter', array( 'html_strip' ) ),
/**
* Filter Elasticsearch default language in mapping
*
Expand Down

0 comments on commit c29c594

Please sign in to comment.