Jetpack: On first view only smiley face shows although "hide the stats smiley face" is checked

Created on 27 Jan 2020  路  5Comments  路  Source: Automattic/jetpack

Smiley faces show below every oEmbed cards on first view although I checked "Hide the stats smiley face image" in Jetpack settings page.
On reload they are hidden correctly.

Steps to reproduce the issue

  1. show site with new incognito window
  2. on first view smiley faces are shown below each oEmbed card
  3. reload the page
  4. no smiley faces are shown

Screenshots
On first view
first-time

On reload
reloaded

Stats [Type] Enhancement

All 5 comments

Could you post a link to a page where you've added such an embed, so I can take a closer look?

Thank you.

Yes. Please access to the following link:
https://blog.8card.net/2020/01/24/hr-vol2/

Thank you.

Could you try adding the following code to a functionality plugin on your site, and let me know if it helps?

add_action( 'embed_head', 'stats_hide_smile_css' );

The smiley face images have been hidden correctly even when the image tags remain in the HTML code! It seems good.

Thank you for your help.

Thanks for letting me know. We'll see about getting this fix included in a future release of Jetpack.

Was this page helpful?
0 / 5 - 0 ratings