Widgets: Don't log invalid HTML in the Text Widget.

[41215] supresses these irrelevant error messages from the front end, this removes them from the error log, too.

Props jeherve.
Fixes #43815.



git-svn-id: https://develop.svn.wordpress.org/trunk@44578 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast
2019-01-14 05:04:12 +00:00
parent e547ecc791
commit 4550488c99
2 changed files with 6 additions and 0 deletions
@@ -572,6 +572,7 @@ class Test_WP_Widget_Text extends WP_UnitTestCase {
$legacy_text_examples = array(
'<span class="hello"></span>',
'<blockquote>Quote <footer>Citation</footer></blockquote>',
'<img src=\"http://example.com/img.jpg\" border=\"0\" title=\"Example\" /></a>',
'<span></span>',
"<ul>\n<li><a href=\"#\" class=\"location\"></a>List Item 1</li>\n<li><a href=\"#\" class=\"location\"></a>List Item 2</li>\n</ul>",
'<a href="#" class="map"></a>',