[wp-trac] [WordPress Trac] #44044: $allowed_tags and $allowed_protocols in wp_privacy_generate_personal_data_export_group_html not filterable.

WordPress Trac noreply at wordpress.org
Mon Aug 6 19:17:59 UTC 2018


#44044: $allowed_tags and $allowed_protocols  in
wp_privacy_generate_personal_data_export_group_html not filterable.
-------------------------+---------------------
 Reporter:  TZ Media     |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.9.9
Component:  Privacy      |     Version:  4.9.6
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+---------------------
Changes (by desrosj):

 * keywords:  has-patch needs-testing needs-refresh => has-patch


Comment:

 [attachment:"44044.2.diff"] let's KSES handle populating allowed HTML and
 protocol arrays. I did not add unit tests because this function currently
 does not have any. #44233 will add complete tests for this function, so I
 think it is better to just add a test method there ensuring disallowed
 HTML gets stripped appropriately. I'll follow up on that ticket to make
 sure these tests get added.

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


More information about the wp-trac mailing list