Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- delete from t1, t2
- using wp_options t1
- join wp_options t2 on t2.option_name = replace(t1.option_name, '_expires', '')
- where (t1.option_name like '\_wc\_session\_expires\_%')
- and t1.option_value < UNIX_TIMESTAMP(NOW())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement