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
Not entirely noob, there was some confusion about this back in #180 (from me 😊). The fact is though, that if you added something to the cache at some point, then you will probably want to remove it from the cache when it is deleted, to free up the cache. So that's why $wpdb->delete() is still flagged—not to add to the cache, but to delete from it.
Noob question (and probably not directly related):
The
delete
method is marked as cacheable in DirectDatabaseQuerySniff.php. Why would I want to cache a DELETE query?The text was updated successfully, but these errors were encountered: