Automattic / wp-memcached

Memcached Object Cache for WordPress.
https://wordpress.org/plugins/memcached/
GNU General Public License v2.0
159 stars 55 forks source link

Object Cache: get_multi refers to nonexistent $to_get variable #29

Closed paulschreiber closed 5 years ago

paulschreiber commented 6 years ago

In get_multi(), we have:

if ( $to_get ) {
    $vals = $mc->get_multi( $to_get );

The variable $to_get doesn't exist anywhere else in the code.

This is causing an Undefined variable: to_get warning to appear.

tangrufus commented 6 years ago

related: #27

nickdaugherty commented 5 years ago

Fixed by #30