asmitha-16

Results 2 issues of asmitha-16

This PR improves defensive handling in WP_REST_Request::sanitize_params() by validating parameter types before applying sanitize callbacks. Benefits: - Prevents PHP warnings on malformed or unexpected input - Ensures arrays are sanitized...

This PR improves sanitize_text_field by: - Adding a type check to ensure only strings are processed - Preventing unexpected behavior for non-string inputs - Improving stability and edge-case handling