Opened 21 months ago
Closed 21 months ago
#54747 closed defect (bug) (duplicate)
no_texturize_shortcodes filter broken in WP5.9 Twenty Twenty-Two theme
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.9 |
Component: | Themes | Keywords: | |
Focuses: | Cc: |
Description
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 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.
Hello, thank you for this ticket.
Let's handle this in #54614.