[wp-trac] [WordPress Trac] #35770: Shortcode fails with 4.4. It is working with 4.3

WordPress Trac noreply at wordpress.org
Fri May 6 22:05:04 UTC 2016


#35770: Shortcode fails with 4.4. It is working with 4.3
-------------------------------+------------------------------
 Reporter:  dezio1900          |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Shortcodes         |     Version:  4.4.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by dezio1900):

 Fixed by creating this content filter:

 {{{#!php
 <?php
 add_filter( 'the_content', function( $content ){

         return str_replace( "\xc2\xa0", " ", $content);

 }, 1);
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35770#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list