Make WordPress Core

Ticket #23946: 23946.diff

File 23946.diff, 471 bytes (added by wonderboymusic, 12 years ago)
  • wp-includes/post-formats.php

    diff --git wp-includes/post-formats.php wp-includes/post-formats.php
    index a6e1049..9b2fa72 100644
    add_chat_detection_format( 'Skype', '#^(\[.+?\])\s([^:]+):#', '#[:]#' ); 
    492492function get_content_chat( &$content, $remove = false ) {
    493493        global $_wp_chat_parsers;
    494494
    495         $trimmed = trim( $content );
     495        $trimmed = strip_tags( trim( $content ) );
    496496        if ( empty( $trimmed ) )
    497497                return array();
    498498