mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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:
@@ -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>',
|
||||
|
||||
Reference in New Issue
Block a user