
// this may occasionally occur when the remark is posted perform plc_comment_post( $incoming_comment ) // convert the whole thing in a comment to display literally $incoming_comment['comment_content'] = htmlspecialchars($incoming_comment['comment_content']); // the one exception is single prices, which cannot be #039; as a result of WordPress marks it as junk mail $incoming_comment['comment_content'] = str_replace( "'", ''', $incoming_comment['comment_content'] ); return( $incoming_comment ); // this will occur earlier than a remark is displayed operate plc_comment_display( $comment_to_display ) // Put the single charges again in $comment_to_display = str_replace( ''', "'", $comment_to_display ); return $comment_to_display;
Bu yazıyı daha ayrıntılı BURADAN inceleyebilirsiniz.
