Making WordPress.org

Ticket #2222: 2222.patch

File 2222.patch, 927 bytes (added by SergeyBiryukov, 8 years ago)
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-profiles-wp-activity-notifier/wporg-profiles-wp-activity-notifier.php

     
    388388                $trim_style = in_array( $trim_style, array( 'chars', 'words' ) ) ? $trim_style : 'words';
    389389
    390390                // Remove blockquoted text since the text isn't original.
    391                 $text = preg_replace( '/<blockquote>.+<\/blockquote>/', '', $text );
     391                $text = preg_replace( '/<blockquote>.+<\/blockquote>/s', '', $text );
    392392
    393393                // Strip tags and surrounding whitespace.
    394394                $text = trim ( strip_tags( $text ) );