• One of our documents was given a description containing single quotes. After saving, the description was shown with slashes appended in front of the quotes.
    Fixed it for my setup by editing index.php around line 386 and replacing
    if( BP_GROUP_DOCUMENTS_SHOW_DESCRIPTIONS && $document->description ){ echo '<br /><span class="group-documents-description">' . nl2br($document->description) . '</span>'; }
    with
    if( BP_GROUP_DOCUMENTS_SHOW_DESCRIPTIONS && $document->description ){ echo '<br /><span class="group-documents-description">' . nl2br(stripslashes($document->description)) . '</span>'; }

    http://wordpress.org/extend/plugins/buddypress-group-documents/

  • The topic ‘[Plugin: Group Documents] [bug] slashes not removed from description output’ is closed to new replies.