woothemes/woocommerce — pull request #6917 by webaware (2014-12-08 21:09:40+00:00)
Title: Escape `_` in LIKE to allow index search

Also filters for expired sessions in DB, not PHP.
Fixes #6916