Thanks so much for the quick response and fix, Brajesh!
The website now seems to be working as it should, including an old avatar being kept when a new avatar is under moderation. It’d be great if this change could also happen when using the BP REST API.
Please let us know if you have any updates on this, and we’ll continue with our testing in the interim.
Thanks again. 🙂
We’ve been doing some testing; photo moderation through the BP REST API seems to be working nicely, thank you for your work on this. We are however experiencing errors on the website (blank red error box, browser console shows internal server error). The photo is uploaded fine and displays on the profile, upon page refresh, but without going into moderation.
We tested using a clean and latest version of BuddyPress (legacy template pack), default theme and latest WordPress. No other plugins were running apart from BuddyPress. The BuddyPress Avatar Moderator plugin was installed as a new install, not an update from a previous version.
We also wondered about a similar question to the below post, after experiencing the same issue (i.e. if a user already has an approved avatar and uploads a new avatar, it’s replaced with the placeholder photo). Has there been any updates on if it’s possible to keep the old avatar whilst the new avatar is under moderation (including if the new avatar is rejected)? We’ve tried removing the plugin’s default placeholder in the settings, but the default placeholder photo is still inserted.