#53445 closed enhancement (fixed)
Twenty Twenty-One: Add privacy policy link to footer
Reported by: | ryelle | Owned by: | hellofromTonya |
---|---|---|---|
Milestone: | 5.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Bundled Theme | Keywords: | has-patch has-screenshots needs-docs has-dev-note |
Focuses: | privacy | Cc: |
Description
If you have a privacy policy set, the page should be linked to from the footer of the site. The other bundled themes add this link using the_privacy_policy_link
, but Twenty Twenty-One does not.
In #43715, when the link was added to Twenty Seventeen and earlier, it was dropped next to "Powered by WordPress". I think the same could be done for Twenty Twenty-One.
Attachments (5)
Change History (25)
This ticket was mentioned in Slack in #core by audrasjb. View the logs.
3 years ago
#4
follow-up:
↓ 5
@
3 years ago
- Focuses privacy added
- Keywords needs-testing needs-screenshots added
@kapilpaul the patch looks good at a glance. It would be nice to provide some screenshots.
Adding needs-testing
keyword.
#5
in reply to:
↑ 4
@
3 years ago
Replying to audrasjb:
@kapilpaul the patch looks good at a glance. It would be nice to provide some screenshots.
Addingneeds-testing
keyword.
Hi, added screenshots in my previous comment.
#6
@
3 years ago
Changes in 53445.1.diff:
- adding the privacy policy link within the footer.php template instead of a new template part (as @audrasjb suggested on Slack)
- putting the link inside a new
div
instead of inside thepowered-by
container, so the WordPress link text does not wrap under Privacy Policy - making a few small margin edits
Note: At 822px and a bit wider, the flex layout can push each of the three footer elements to a second line. This was already possible with long site names and/or long translations, but it would be more common with the link there and I do not have a good alternative for Twenty Twenty-One. (I tried flex-wrap
here but did not like that.)
This ticket was mentioned in Slack in #core by audrasjb. View the logs.
3 years ago
This ticket was mentioned in Slack in #core-test by hellofromtonya. View the logs.
3 years ago
This ticket was mentioned in Slack in #core by chaion07. View the logs.
3 years ago
This ticket was mentioned in Slack in #core-test by boniu91. View the logs.
3 years ago
#12
@
3 years ago
Test report
Environment
- WordPress: 5.9-alpha-51272-src
- PHP version: 7.4.23
- OS: 12.0 Beta
- Browser: Firefox Developer Edition 94.0b9
- Theme: Twenty Twenty One
- Plugins: no
Test results
The patch 53445.1 applies correctly, and correctly adds the privacy policy page to the site footer.
But there are still some issues with the position of the link, that tends to sit just next to the site link on larger screens (+836px); see https://cln.sh/Ezo6KP.
#13
@
3 years ago
@justinahinon found a positioning issue:
But there are still some issues with the position of the link, that tends to sit just next to the site link on larger screens (+836px); see https://cln.sh/Ezo6KP.
@justinahinon @audrasjb is this something to resolve before committing the patch?
#14
@
3 years ago
@hellofromTonya I've just tested again against the latest trunk, and the link position is fine (https://cln.sh/sc3RPZ).
It is probably good to go.
#16
@
3 years ago
- Owner set to hellofromTonya
- Status changed from new to reviewing
Assigning to me for commit
.
#18
@
3 years ago
Thank you everyone for contributing! The patch is committed and will ship with 5.9.
#19
@
3 years ago
- Keywords needs-docs needs-dev-note added; commit removed
Mention in a "Bundled Themes changes" dev note, along with the change for Twenty Twenty (ticket:53446#comment:14)
#20
@
3 years ago
- Keywords has-dev-note added; needs-dev-note removed
Bundled themes update note:
https://make.wordpress.org/core/2022/01/05/bundled-theme-updates-with-wordpress-5-9/
Hi,
The patch is added to this 53446. Both Twenty Twenty and Twenty Twenty One theme is covered.
Screenshots:
http://snappyimages.nextwavesrl.netdna-cdn.com/img/be51b146523d8c89e82bc47bbcc7fb8c.png
http://snappyimages.nextwavesrl.netdna-cdn.com/img/aea12866603103dc4fa22e73c210e493.png