[wp-trac] [WordPress Trac] #47210: Allow html on site health titles and description

WordPress Trac noreply at wordpress.org
Fri May 10 21:22:44 UTC 2019


#47210: Allow html on site health titles and description
-------------------------------------------------+-------------------------
 Reporter:  juliobox                             |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Administration                       |     Version:  5.2
 Severity:  minor                                |  Resolution:
 Keywords:  needs-patch dev-feedback site-       |     Focuses:
  health 2nd-opinion                             |
-------------------------------------------------+-------------------------
Changes (by azaozz):

 * keywords:  needs-patch dev-feedback site-health => needs-patch dev-
     feedback site-health 2nd-opinion


Comment:

 Couple of things:
 - KSES is not intended (not a good way) to sanitize things on displaying.
 It is a heavy/slow filtering of HTML tags and attributes best suited for
 saving to the DB.
 - What are the "user cases" for allowing HTML in item titles and collected
 data? I.e. how would that improve the user experience? :)

 As far as I see it may be helpful to add a link to the "explanations" of
 some of the results, however keep in mind these will have to be translated
 and the link would (ideally) point to a "get more info" web page in the
 same language.

 Seems displaying only "basic" info there and leaving it to the user to
 decide if they want to know more, and providing them with enough to "get
 them started" is a pretty good UX/workflow. There is a lot of
 (new/unfamiliar) info on that screen, we don't want to overwhelm them
 right from the start :)

 Also, no HTML tags should be in the info that is for copying.

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


More information about the wp-trac mailing list