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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Bug in code related to get_the_excerpt’ is closed to new replies.