| 开发者 | nicmare |
|---|---|
| 更新时间 | 2026年7月20日 19:43 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
The idea and crawler approach are credited to Rodrigo Donini and the original wp-profiles-card repository: https://github.com/donini/wp-profiles-card
No. The block fetches public profile data directly from the WP.org profile page for the username entered in the block.
Profile data is cached with WordPress transients. Each username gets its own transient cache and the data is refreshed once per day.
Yes. The plugin settings include an optional "Download Gravatar images in Media Library" checkbox. When enabled, Gravatar images are downloaded into the WordPress media library and the cached profile card uses the local media URL instead of requesting the remote image on every render.
Existing profile card blocks and existing transient cache entries are handled automatically. When a cached profile is rendered and local Gravatar downloads are enabled, the plugin checks whether the matching image already exists in the media library. If it does not exist yet, the image is downloaded and the transient cache is updated to use the local URL.
The plugin switches known cached profiles back to their original remote Gravatar URL and deletes the Gravatar images it created in the media library.
Downloaded Gravatar images created by this plugin are deleted during plugin uninstall.
Changing the username uses a different transient key, so the block fetches and stores profile data for the new username.