Wordpress/tests
Gary Pendergast d2f41560d3 Formatting: Loosen the type checking in _sanitize_text_fields().
[44618] added strict type checking to `_sanitize_text_fields()`, which has caused some compat issues with plugins.

We can loosen the type checking to only reject objects and arrays, and cast other types to string.

Props Nick_theGeek, pento.
Fixes #41450.



git-svn-id: https://develop.svn.wordpress.org/trunk@44731 602fd350-edb4-49c9-b593-d223f7449a82
2019-02-07 23:34:22 +00:00
..
phpunit Formatting: Loosen the type checking in _sanitize_text_fields(). 2019-02-07 23:34:22 +00:00
qunit Build/Test Tools: Update QUnit index file after [43174]. 2019-01-19 15:27:11 +00:00