[wp-trac] [WordPress Trac] #54747: no_texturize_shortcodes filter broken in WP5.9 Twenty Twenty-Two theme
WordPress Trac
noreply at wordpress.org
Wed Jan 5 09:57:33 UTC 2022
#54747: no_texturize_shortcodes filter broken in WP5.9 Twenty Twenty-Two theme
--------------------------+-----------------------------
Reporter: pgn4web | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Hello, I'm the programmer of the https://wordpress.org/plugins/embed-
chessboard/ plugin that creates a custom shortcode.
The plugin uses the following code to avoid texturization of the shortcode
content:
{{{#!php
<?php
function embedchessboard_no_texturize( $shortcodes ) {
$shortcodes[] = 'pgn';
$shortcodes[] = 'pgn4web';
return $shortcodes;
}
add_filter( 'no_texturize_shortcodes', 'embedchessboard_no_texturize' );
}}}
I've been testing the plugin with WP 5.9 from beta-1 up to RC1 and the
no_texturize_shortcode filter does not have the intended effect when using
the Twenty Twenty-Two theme. The text in between shortcode tags is
modified, in my case the straight quotes in "this" are changed to “this”.
Switching to older themes in the WP 5.9 packages does not show the issue,
only Twenty Twenty-Two is affected.
I had already reported the issue as a "shortcodes" issue, some question
asked but no followup, see https://core.trac.wordpress.org/ticket/54614
Reporting again as a "themes" issue, hopefully getting some attention.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54747>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list