wp-blocks / cf7-antispam

☂️ A trustworthy antispam plugin for Contact Form 7.
Other
13 stars 4 forks source link

Some images on the Settings page are broken #93

Open Yerrun opened 10 months ago

Yerrun commented 10 months ago

Two websites, same server. One site has broken images on the Settings page, and the other one does not.

For example: On the site without broken images, the URL to an image is: <img draggable="false" role="img" class="emoji" alt="☂️" src="https://s.w.org/images/core/emoji/14.0.0/svg/2602.svg">

On the site with broken images, the URL to an image is: <img draggable="false" role="img" class="emoji" alt="☔" src="https://twemoji.maxcdn.com/v/14.0.2/2614.svg">

Clearing the cache and browser, purging the cache plugin, and deleting and installing the plugin again didn't solve it.

erikyo commented 9 months ago

maybe related to this? https://github.com/twitter/twemoji/issues/580

Yerrun commented 9 months ago

Okay. I will look into it. I find it strange that the links to an image can have different URLs depending on the website.

erikyo commented 9 months ago

I just use a simple emoji enclosed in a <span> element... which is why I think it has been replaced with a website speed optimisation tool that replaces emoji with an image (even in the backend).

If on one provider it happens to you and on the other it doesn't, it's a problem of the latter... it have to update the icon set because the ones it was based on are no longer available (or so it seem)

https://github.com/wp-blocks/cf7-antispam/blob/3e0e83eda308c8ef29b2402333a7e86b4840f9da/admin/CF7_AntiSpam_Admin_Display.php#L47

Yerrun commented 9 months ago

I have 3 websites with the same provider. Same server, same plugins. 2 websites give broken images, 1 not. Turning litespeed cache on or off doesn't make a difference.

icon1