#55709 closed defect (bug) (fixed)
untranslated $plugin_name parameter in wp_add_privacy_policy_content() call of twenty twenty-one theme
| Reported by: | nlpro | Owned by: | audrasjb |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.1 |
| Component: | Bundled Theme | Version: | 5.6 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | privacy |
Description
In wp-content\themes\twentytwentyone\classes\class-twenty-twenty-one-dark-mode.php:
<?php wp_add_privacy_policy_content( 'Twenty Twenty-One', wp_kses_post( wpautop( $content, false ) ) );
should be:
<?php wp_add_privacy_policy_content( __( 'Twenty Twenty-One', 'twentytwentyone' ), wp_kses_post( wpautop( $content, false ) ) );
Attachments (2)
Change History (7)
#2
@
4 years ago
- Keywords has-patch added; needs-patch removed
Patch Added. Please check the attachment.
#3
@
4 years ago
- Milestone Awaiting Review → 6.1
- Owner set to
- Status new → accepted
Looks good to me, thanks 👍
#4
@
4 years ago
- Component Privacy → Bundled Theme
- Version 5.9 → 5.6
Introduced in 5.6 with changeset [49574].
#5
@
4 years ago
- Resolution → fixed
- Status accepted → closed
Fixed in [53390].
Looks like Trac didn't catch up this commit for some reason, but it's committed, see https://github.com/WordPress/wordpress-develop/commit/4083456e421dca25d2e463edd2e4f4cb2757e9ed.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
introduced in WP 5.9 with TT2 bundled theme
Below I added a screenshot to show where the related content appears.
This looks like a relevant proposal to me 👍