WP 3.8.1
re-pg-ify multi-table deletes

re-cherry-picking the following commits after an overzealous
upgrade:

9c4d5bb cast times
c295b49 put brackets in the right place, genius
64ff79e pg-ify multi-table deletes
Merge branch 'master' of https://github.com/mhoofman/wordpress-heroku