-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Throwing a warning in the admin when Show Avatars is disabled. #518
Comments
I'm on it. |
No, I am :) |
@Japh wp-cli avatar still shows while the 'show_avatars' setting is disabled, we might need to address this here as well. |
Oh yeah. The WP_Stream_Author class manually supplies an image for the |
Thanks for the heads up, @shadyvb. Fixed that now. |
Cool, @fjarrett This needs to be issued as a hotfix to prevent notices on installations with |
Fix for Show Avatars disabled, issue #518
Just updated my sites to Stream 1.4.4 and noticed that when Show Avatars is disabled (not selected) in Settings > Discussion, the following warning is displayed, twice for each "author", at the top of the Stream admin page:
Warning: assert(): Assertion failed in /home/[...]/public_html/wp-content/plugins/stream/includes/class-wp-stream-author.php on line 119
Doesn't break the site, but it definitely doesn't look good. Thought you'd want to know...
Originally reported on the WordPress.org forums
The text was updated successfully, but these errors were encountered: