You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently if a site is returning false for get_option( 'show_avatars' ) the @ mentions autocompletion fails due to a Cannot read property '24' of undefined error.
To reproduce
Steps to reproduce the behavior:
Set the show_avatars option to false for a given site
Open dev tools console
In the given site add a new post and try to mention a user by typing @joemaller
User autocomplete dropdown does not display and error can be seen in console
Expected behavior
If a site has show_avatars set to false then the user autocomplete dropdown should still display but without avatars
Screenshots
Desktop :
OS: OSX
Browser: Chrome
Version 78.0.3904.70
Can be replicated on 6.8 and latest Gutenberg master.
The text was updated successfully, but these errors were encountered:
Describe the bug
Currently if a site is returning false for
get_option( 'show_avatars' )
the @ mentions autocompletion fails due to aCannot read property '24' of undefined
error.To reproduce
Steps to reproduce the behavior:
show_avatars
option to false for a given siteExpected behavior
If a site has
show_avatars
set to false then the user autocomplete dropdown should still display but without avatarsScreenshots
Desktop :
Can be replicated on 6.8 and latest Gutenberg master.
The text was updated successfully, but these errors were encountered: