WordPress.org

Plugin Directory

Changeset 588006


Ignore:
Timestamp:
08/20/12 21:32:24 (20 months ago)
Author:
evansolomon
Message:

Add case for make_clickable not being hooked to comment_text

File:
1 edited

Legend:

Unmodified
Added
Removed
  • oembed-in-comments/trunk/oembed-in-comments.php

    r588005 r588006  
    4343        $clickable = has_filter( 'comment_text', 'make_clickable' ); 
    4444 
    45         if ( ! $kses ) { 
     45        if ( ! $clickable && ! $kses ) { 
     46            $priority = 10; 
     47        } 
     48        elseif ( ! $kses ) { 
    4649            $priority = ( $clickable ) ? $clickable - 1 : 10; 
    4750        } 
Note: See TracChangeset for help on using the changeset viewer.