[wp-trac] [WordPress Trac] #48633: Twenty Twenty theme may be requires attached patch coding changes.
WordPress Trac
noreply at wordpress.org
Sat Nov 23 10:41:56 UTC 2019
#48633: Twenty Twenty theme may be requires attached patch coding changes.
---------------------------+----------------------
Reporter: chintan1896 | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Bundled Theme | Version:
Severity: normal | Resolution: invalid
Keywords: | Focuses:
---------------------------+----------------------
Comment (by Otto42):
The $intro_text_width is correct in that it not meant to be filterable,
it's "small" or "thin" and that's it, more or less. Thus, no need for
escaping.
The $post_meta_classes (and the $post_meta_wrapper_classes) appear to have
been intended to be filterable but the apply_filters calls are missing.
This should be corrected in the next version of the theme. However, had
they been filterable, then these escapes would be correct.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48633#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list