Support » Plugin: ShareThis Share Buttons » Bug in code related to get_the_excerpt

  • Hi,

    There is a bug in your plugin file /php/class-minute-control.php line 488 (function name set_inline_excerpt)

    This function checks is_admin() and returns nothing. It should return the $excerpt.

    The problem is that on an ajax request, the is_admin check always returns true. So my theme ajax function that has a get_excerpt() function returns empty, because your filter is.

    you should use is_admin() && !wp_doing_ajax()

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ShareThis


    Hi there,

    Thank you for reaching out!

    Can you please verify for me if you are still experiencing this issue on your end?

    If so, can you please provide me with the specific URLs you are having issues with in order for me to be able to provide you with an absolute solution?


    Plugin Author ShareThis


    @raiserweb I appreciate you finding that bug! Sorry this has been conflicting with your setup. We’ll have this added condition put into the newest version of the plugin 1.5.0. Thanks!


Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.