Automattic/jetpack — pull request #972 by enkrates (2014-08-08 19:04:01+00:00)
Title: Adds a test class covering functions.compat.php

The functions.compat.php file has two functions that parse some
specific pieces of possible YouTube urls. This commit adds a test
class that tests each kind of sanitization that youtube_sanitize_url
performs and also test the two types of urls that jetpack_get_youtube_id
returns ids from.

I again omitted the @since tag, because I am unsure if it would be the current release or a future release (as in, the very next release).