[wp-trac] [WordPress Trac] #54614: no_texturize_shortcodes filter broken inWP 5.9 beta 1 and 2

WordPress Trac noreply at wordpress.org
Sun Dec 12 16:33:39 UTC 2021


#54614: no_texturize_shortcodes filter broken inWP 5.9 beta 1 and 2
--------------------------+-----------------------------
 Reporter:  pgn4web       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hello, my wordpress plugin embed-chessboard uses the code below to avoid
 texturization of the text within a shortcode. In wordpess 5.9 beta 1 and
 5.9 beta 2 the filter does not seems to have effect with texturization
 applied to the text within the shortcode (particularly straight quotes "
 get changed into opening/closing quotes, breaking things apart).

 Has anything changes in wordpress 5.9 to break the code below? Or it's
 just a bug?

 Thanks.

 {{{#!php
 <?php
 function embedchessboard_no_texturize( $shortcodes ) {
   $shortcodes[] = 'pgn';
   $shortcodes[] = 'pgn4web';
   return $shortcodes;
 }

 add_filter( 'no_texturize_shortcodes', 'embedchessboard_no_texturize' );
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54614>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list