[wp-trac] [WordPress Trac] #55709: untranslated $plugin_name parameter in wp_add_privacy_policy_content() call of twenty twenty-one theme
WordPress Trac
noreply at wordpress.org
Wed May 11 07:53:04 UTC 2022
#55709: untranslated $plugin_name parameter in wp_add_privacy_policy_content() call
of twenty twenty-one theme
--------------------------+-----------------------------
Reporter: nlpro | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Privacy | Version: 5.9.3
Severity: normal | Keywords:
Focuses: privacy |
--------------------------+-----------------------------
In wp-content\themes\twentytwentyone\classes\class-twenty-twenty-one-dark-
mode.php:
{{{#!php
<?php
wp_add_privacy_policy_content( 'Twenty Twenty-One', wp_kses_post( wpautop(
$content, false ) ) );
}}}
should be:
{{{#!php
<?php
wp_add_privacy_policy_content( __( 'Twenty Twenty-One', 'twentytwentyone'
), wp_kses_post( wpautop( $content, false ) ) );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55709>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list