[wp-trac] [WordPress Trac] #52047: Twenty Twenty-One: Remove untranslatable post type names
WordPress Trac
noreply at wordpress.org
Mon Dec 21 19:11:51 UTC 2020
#52047: Twenty Twenty-One: Remove untranslatable post type names
------------------------------+---------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.6.1
Component: Bundled Theme | Version: 5.6
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+---------------------
Comment (by poena):
The escaping must not be removed. The themes team and contributors have
discussed this thoroughly
and have worked towards the goal of having secure themes over the past
several years.
Including discussions on GitHub during the development of this theme.
https://github.com/WordPress/twentytwentyone/issues/479
''It is not about if core translations are considered safe or not,''
because the scope is much larger than core translations.
The default themes are used as examples and are copied by both new and
experienced developers.
''The majority of the resulting code will not be something that is meant
for core.''
We see the result of this on daily basis when we review themes where the
escaping is not correct, and that is why we also argumented for Twenty
Twenty to include escaping last year.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52047#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list