File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ trait EscapingFunctionsTrait {
84
84
'sanitize_hex_color_no_hash ' => true ,
85
85
'sanitize_html_class ' => true ,
86
86
'sanitize_key ' => true ,
87
+ 'sanitize_locale_name ' => true ,
87
88
'sanitize_user_field ' => true ,
88
89
'tag_escape ' => true ,
89
90
'urlencode_deep ' => true ,
Original file line number Diff line number Diff line change @@ -137,14 +137,15 @@ trait SanitizationHelperTrait {
137
137
* @var array<string, bool>
138
138
*/
139
139
private $ unslashingSanitizingFunctions = array (
140
- 'absint ' => true ,
141
- 'boolval ' => true ,
142
- 'count ' => true ,
143
- 'doubleval ' => true ,
144
- 'floatval ' => true ,
145
- 'intval ' => true ,
146
- 'sanitize_key ' => true ,
147
- 'sizeof ' => true ,
140
+ 'absint ' => true ,
141
+ 'boolval ' => true ,
142
+ 'count ' => true ,
143
+ 'doubleval ' => true ,
144
+ 'floatval ' => true ,
145
+ 'intval ' => true ,
146
+ 'sanitize_key ' => true ,
147
+ 'sanitize_locale_name ' => true ,
148
+ 'sizeof ' => true ,
148
149
);
149
150
150
151
/**
You can’t perform that action at this time.
0 commit comments