Ticket #2222: 2222.patch
File 2222.patch, 927 bytes (added by , 8 years ago) |
---|
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-profiles-wp-activity-notifier/wporg-profiles-wp-activity-notifier.php
388 388 $trim_style = in_array( $trim_style, array( 'chars', 'words' ) ) ? $trim_style : 'words'; 389 389 390 390 // Remove blockquoted text since the text isn't original. 391 $text = preg_replace( '/<blockquote>.+<\/blockquote>/ ', '', $text );391 $text = preg_replace( '/<blockquote>.+<\/blockquote>/s', '', $text ); 392 392 393 393 // Strip tags and surrounding whitespace. 394 394 $text = trim ( strip_tags( $text ) );