[wp-trac] [WordPress Trac] #35897: wp_strip_all_tags the titles in Recent Posts widget

WordPress Trac noreply at wordpress.org
Sun Feb 21 23:51:05 UTC 2016


#35897: wp_strip_all_tags the titles in Recent Posts widget
--------------------------+------------------------------
 Reporter:  alexvorn2     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Widgets       |     Version:  4.4.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  ui, template
--------------------------+------------------------------

Comment (by alexvorn2):

 `<strong>` tag should removed too, we need to make the every item in the
 list to have the same style.
 In the post, the title will not be affected.

 My case is that I use `<br>` tags to make the title look the way I want,
 divided by new lines, but I don't like how it works in the list widget so
 the temporary fix for this is using a custom Recent Posts widget.

 A lot of other widgets I use - replace the standard widgets, so I want to
 see if my idea/concept is introduced as a fix, if not - then If someone
 will ask me why I use custom made widgets I will point to this ticked that
 no everything works as I think should work.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35897#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list