Yoast/wordpress-seo — pull request #1542 by jrfnl (2014-09-07 11:57:58+00:00)
Title: Replace methodology for removing double whitespace

Fixes issue #1480

I've added this as a function to the functions file as the same whitespace regex was being used in metabox.