#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 |
---|---|---|---|
Milestone: | 6.1 | Priority: | normal |
Severity: | normal | Version: | 5.6 |
Component: | Bundled Theme | Keywords: | has-patch |
Focuses: | privacy | Cc: |
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
@
3 years ago
- Keywords has-patch added; needs-patch removed
Patch Added. Please check the attachment.
#3
@
3 years ago
- Milestone changed from Awaiting Review to 6.1
- Owner set to audrasjb
- Status changed from new to accepted
Looks good to me, thanks 👍
#4
@
3 years ago
- Component changed from Privacy to Bundled Theme
- Version changed from 5.9 to 5.6
Introduced in 5.6 with changeset [49574].
#5
@
3 years ago
- Resolution set to fixed
- Status changed from accepted to 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.
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 👍