Ticket #44074: 44074-fix2.diff
File 44074-fix2.diff, 508 bytes (added by , 5 years ago) |
---|
-
class-oembed.
old new 737 737 738 738 $replaced = str_replace( $replace, $search, $html ); 739 739 $stripped = str_replace( array( "\r\n", "\n" ), '', $replaced ); 740 $pre = array_ values( $found);741 $tokens = array_ keys( $found);740 $pre = array_reverse( array_values( $found ) ); 741 $tokens = array_reverse( array_keys( $found ) ); 742 742 743 743 return str_replace( $tokens, $pre, $stripped ); 744 744 }