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
I've fixed a bug that was opened in 2017 it's nowhere near close to the front page, but I fear this won't be noticed because that thread is older than dirt, digitally speaking.
in /js/src/cache.js at line 36:
var value = that.get( id, store );
Change to
var value = id === '' ? true : that.get( id, store );
That will result in the function looking like this
This function will get called with ['']. It needs to return an empty array when this happens because '' should never be a valid key. If this isn't done this plugin spams the life out of the backend with around 40 initial queries and a new query every keystroke. The response is always going to be empty because an attachment can't have that key.
Please fix this. I do not like having to re-apply stuff like this each time I update a plugin. While this bug is a mere nuisance on a small site, the site I run has 100 staffers and around 10,000 page builds / day between them and the public. This bug has been dragging the site for awhile now.
The text was updated successfully, but these errors were encountered:
I've fixed a bug that was opened in 2017 it's nowhere near close to the front page, but I fear this won't be noticed because that thread is older than dirt, digitally speaking.
in /js/src/cache.js at line 36:
Change to
That will result in the function looking like this
This function will get called with
['']
. It needs to return an empty array when this happens because '' should never be a valid key. If this isn't done this plugin spams the life out of the backend with around 40 initial queries and a new query every keystroke. The response is always going to be empty because an attachment can't have that key.Please fix this. I do not like having to re-apply stuff like this each time I update a plugin. While this bug is a mere nuisance on a small site, the site I run has 100 staffers and around 10,000 page builds / day between them and the public. This bug has been dragging the site for awhile now.
The text was updated successfully, but these errors were encountered: