We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2004209 + 538196c commit b3713e7Copy full SHA for b3713e7
WordPress/Helpers/SanitizationHelperTrait.php
@@ -137,15 +137,16 @@ trait SanitizationHelperTrait {
137
* @var array<string, bool>
138
*/
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
- 'sanitize_locale_name' => true,
148
- 'sizeof' => true,
+ 'absint' => true,
+ 'boolval' => true,
+ 'count' => true,
+ 'doubleval' => true,
+ 'floatval' => true,
+ 'intval' => true,
+ 'rest_sanitize_boolean' => true,
+ 'sanitize_key' => true,
+ 'sanitize_locale_name' => true,
149
+ 'sizeof' => true,
150
);
151
152
/**
0 commit comments