[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
Thu Aug 30 09:55:52 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 has-unit-tests commit | Focuses:
---------------------------------------------+---------------------
Changes (by birgire):
* keywords: has-patch has-unit-tests => has-patch has-unit-tests commit
Comment:
[attachment:"44044.4.diff"]:
- Splits up {{{test_disallowed_html_is_stripped()}}} into a new one
{{{test_allowed_html_not_stripped()}}}, so we have one test method for
allowed HTML and another one for disallowed HTML.
- Adds missing link tag in {{{$data['items'][0]['links']['value']}}}.
- Change {{{site.com}}} to {{{example.com}}}, in
{{{$data['items'][0]['images']['value']}}} as the former is a company's
webpage.
- Adds "is allowed" in {{{$data['items'][0]['links']['name']}}}.
- Adds a full-stop to the inline comment in
{{{wp_privacy_generate_personal_data_export_group_html()}}}.
@desrosj I mark this for commit.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44044#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list