[wp-trac] [WordPress Trac] #46878: Site Health: Allow 'target' in 'a' tags in the debug data description

WordPress Trac noreply at wordpress.org
Mon Apr 22 18:53:01 UTC 2019


#46878: Site Health: Allow 'target' in 'a' tags in the debug data description
-------------------------------------+---------------------
 Reporter:  kraftbj                  |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  5.2
Component:  Administration           |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  site-health needs-patch  |     Focuses:
-------------------------------------+---------------------

Comment (by azaozz):

 Replying to [comment:13 Clorith]:

 Yep, I'm with pento on this as well. Generally WordPress lets plugins and
 themes do... anything they want in order to provide better user
 experience. Trying to restrict that would result in either the plugin
 using more "hacky" way to achieve the same result, or the user experience
 being not as good as it can be.

 As most of the data for the copied info is generated separately, we can
 strip_tags() only in cases where we are reusing the "view" strings
 intended for the HTML. There is no point in restricting these strings when
 added by plugins.

 Patch coming up.

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


More information about the wp-trac mailing list