Files
wordpress-develop/tests/phpunit/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
..
2017-11-30 23:09:33 +00:00
2017-11-30 23:09:33 +00:00
2017-11-30 23:09:33 +00:00
2017-11-30 23:09:33 +00:00
2017-11-30 23:09:33 +00:00
2017-11-30 23:09:33 +00:00
2017-11-30 23:09:33 +00:00
2017-11-30 23:09:33 +00:00
2017-11-30 23:09:33 +00:00
2017-11-30 23:09:33 +00:00
2017-11-30 23:09:33 +00:00
2017-11-30 23:09:33 +00:00
2017-11-30 23:09:33 +00:00
2017-11-30 23:09:33 +00:00
2017-11-30 23:09:33 +00:00
2019-01-18 02:14:24 +00:00
2017-11-30 23:09:33 +00:00