Hello,
I use
remove_filter('the_excerpt', 'wpautop');
on a couple of sites, one of which is no longer needed and no longer updated. On that site, the p tags are correctly removed from the excerpt field like this:
<div class="entry">
<p> <img src="/wp-content/furniture/Watch_button.png" alt="Watch video" class="watch_inline" />
My excerpt</p>
</div>
On another site, with the same images and styles, I get this:
<div class="entry">
<p> <img src="/wp-content/furniture/Watch_button.png" alt="Watch video" class="watch_inline" />
<p>My excerpt</p>
</p>
</div>
I've noticed this on another site with different markup. Did I miss something? Was there a syttax change?
Gary