這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Mirror Gravatar

描述

Locally mirror commenters’ Gravatars and serves them from your site, rather than loading them from gravatar.com on each page load.

This has several effects:

  • If most of the comments on a post have no gravatar, those turn into one load of a shared image, instead of one for each comment, that happens to return the same “mystery” image.

  • You will be serving more (small) images.

  • gravatar.com no longer has a web-bug on your blog that is loaded by each viewer. Instead of being loaded at every page view, the gravatar is loaded just once, on the server-side, at the time each new comment is posted.

    Gravatar is owned by WordPress, and their privacy policy says that they don’t monetize that info, but hey, corporate policies change, and subpoenas exist.

  • The user’s Gravatar profile is saved along with their comment, viewable by admins even if they later change or delete it from gravatar.com.

  • If someone changes or deletes their Gravatar, your site continues displaying the image that was their Gravatar at the time that they last posted.

  • If a commenter’s URL looks like a link to a Mastodon profile, this plugin will attempt to mirror the Mastodon avatar instead.

  • Additionally: when commenting, a live preview of the Gravatar tracks the contents of the “Email” field.

Security and Privacy

Though WordPress enables Gravatars by default, using them at all might be considered a privacy risk for your blog commenters. Gravatars expose an MD5 hash of the email address of each commenter, which has been shown to be vulnerable to attacks. A sufficiently-motivated attacker can probably translate that MD5 back into an email address.

This plugin does not, at least, make that any worse.

螢幕截圖

  • A copy of the user’s gravatar.com profile is saved with the comment.
  • A live preview of the Gravatar when commenting.

安裝

  1. Upload the mirror-gravatar directory to your /wp-content/plugins/ directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Make sure the directory /wp-content/plugins/mirror-gravatar/ is writable by your web server.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Mirror Gravatar” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Mirror Gravatar 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0

  • Created

1.1

  • Also mirrors Mastodon avatar images, if the commenter’s URL is of the form “https://example.com/@username”

1.2

  • Minor Mastodon tweaks.