=== JennyStudio Identicons ===
Contributors: brain1981
Tags: avatars, identicons, buddypress, bbpress, custom-avatar
Requires at least: 5.2
Tested up to: 6.9.4
Stable tag: 1.3.1
Requires PHP: 7.2
Donate link: https://www.paypal.com/ncp/payment/KG83UR6MFZ22U
License: GPLv2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Note: This plugin generates avatars dynamically as Base64 images, so it cannot use wp_get_attachment_image(). All <img> tags are safely escaped with esc_url() and esc_attr().
Replace the default Gravatar avatars on WordPress, BuddyPress, and bbPress with Material Design-style Identicons avatars.

== Description ==

**JennyStudio Identicons** Is a lightweight plug-in that generates Material Design-style avatars based on user names. It automatically replaces WordPress's default "mystery man" avatars, BuddyPress user avatars, and bbPress forum avatars without relying on Gravatar.


Main functions:
- **Material Design Styles** - Generates beautiful, consistent vector avatars.
- **Color configurable** - Avatar colors are configurable.
- **Seamless integration** - Compatible with WordPress Core, BuddyPress and bbPress.
- **Disable Gravatar** - Avoid privacy issues and improve loading speed, especially for users in the mainland of China to avoid page jams caused by Gravatar loading.
- **Base64 inline image** - Without additional HTTP requests, avatars are directly embedded in HTML.

== Installation ==

1. Upload the plug-in ZIP file to the `/wp-content/plugins/` directory, or install it directly in the WordPress backend.
2. Activate **JennyStudio Identifications ** on the Plugins page.
3. Configurations are not required, it takes effect automatically!

== Frequently Asked Questions ==

= Will this plugin affect uploaded custom avatars? =
No. If the user has uploaded an avatar (via BuddyPress or WordPress default), the plug-in will give priority to the uploaded avatar.

= How to customize the avatar style? =
By default, the avatar style is automatically generated by the plugin and requires no setup. You can configure the avatar's background color and text color in the Settings → Discussion page in the admin panel.

= Do you support Multisite? =
Yes, the plug-in is compatible with the WordPress Multisite environment.

== Screenshots ==
1. Material Design style avatars are shown in the general comment area.
2. Material Design style avatars are shown in user list.
3. Material Design style avatars are shown in BuddyPress profile page.
4. Color Options from backend.


== Changelog ==
= 1.3.1 =
* Fixed a bug which reports coding error in PHP 8+.
  
= 1.3 =
* Added 2 setting fields on discussion page. Now avatar background color and font color are configurable.

= 1.2 =
* Fixed Optimize and correct the occupancy ratio of Chinese avatar text and the background text color under light colors..

= 1.1 =
* Fixed BuddyPress avatar caching issue.
* Optimize Base64 generation performance.
* When modifying MDAvatars, the background color of the Avatar generated by the original library is random. After this plug-in is modified, the background color is fixed according to the user name string to avoid the problem of different colors each time it is refreshed.

= 1.0 =
* Initial release.

== Upgrade Notice ==
1.2 The version optimizes performance and is recommended for all users to upgrade.