Plugin Directory

Changeset 620948


Ignore:
Timestamp:
11/04/2012 03:45:23 PM (13 years ago)
Author:
TM3909
Message:

Fixed wp_trip_excerpt issue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wpsocialite/trunk/wpsocialite.php

    r620715 r620948  
    193193        function wpsocialite_add_to_content( $content )
    194194        {
     195            global $wp_current_filter;
     196
    195197            // added single and post type filters
    196 
    197198            $single = get_option('wpsocialite_single');
    198 
    199199            $position = get_option('wpsocialite_position');
    200 
    201200            $post_types = get_option('wpsocialite_post_types',array());
    202201            $pt = get_post_type();
     
    210209            if(is_feed())
    211210                return $content; //do not include social markup in feed
     211
     212            if(in_array('get_the_excerpt', $wp_current_filter))
     213                return $content;
    212214
    213215            switch($position){
Note: See TracChangeset for help on using the changeset viewer.