WordPress.org

Make WordPress Core

Opened 12 days ago

Closed 9 days ago

Last modified 7 days ago

#44048 closed defect (bug) (fixed)

Privacy: exclude the wrapper from the default policy content

Reported by: azaozz Owned by: azaozz
Milestone: 4.9.6 Priority: normal
Severity: normal Version:
Component: Privacy Keywords: gdpr has-patch fixed-major dev-feedback
Focuses: Cc:

Description

This is an easy/simple fix. When outputting only the suggested policy content from WP_Privacy_Policy_Content::get_default_content() (without the descriptions), do not include the wrapper/utility <div>. It shouldn't be inserted in the policy page.

Attachments (1)

44048.patch (1.5 KB) - added by azaozz 12 days ago.

Download all attachments as: .zip

Change History (9)

@azaozz
12 days ago

#1 @azaozz
12 days ago

  • Owner set to azaozz
  • Resolution set to fixed
  • Status changed from new to closed

In 43242:

Privacy: exclude the wrapper from the default policy content.

Fixes #44048.

#2 @azaozz
12 days ago

  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Summary changed from privacy: exclude the wrapper from the default policy content to Privacy: exclude the wrapper from the default policy content

Reopen for 4.9.6 consideration.

#3 @SergeyBiryukov
12 days ago

  • Keywords fixed-major added

This ticket was mentioned in Slack in #core by ovann86. View the logs.


11 days ago

#5 @desrosj
9 days ago

  • Keywords commit dev-feedback added

#6 @desrosj
9 days ago

  • Keywords commit removed

#7 @SergeyBiryukov
9 days ago

  • Resolution set to fixed
  • Status changed from reopened to closed

In 43255:

Privacy: exclude the wrapper from the default policy content.

Props azaozz.
Merges [43242] to the 4.9 branch.
Fixes #44048.

#8 @desrosj
7 days ago

  • Component changed from General to Privacy

Moving to the new Privacy component.

Note: See TracTickets for help on using tickets.