X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/1c09677af04c9e37714e09b73eb9dbc5b2e3eb13..f8ce8fee333796f41d394479265f31b87bd6e436:/wp-includes/default-embeds.php diff --git a/wp-includes/default-embeds.php b/wp-includes/default-embeds.php index d0a2336d..1283c1e2 100644 --- a/wp-includes/default-embeds.php +++ b/wp-includes/default-embeds.php @@ -32,21 +32,4 @@ function wp_embed_handler_googlevideo( $matches, $attr, $url, $rawattr ) { } wp_embed_register_handler( 'googlevideo', '#http://video\.google\.([A-Za-z.]{2,5})/videoplay\?docid=([\d-]+)(.*?)#i', 'wp_embed_handler_googlevideo' ); -/** - * The PollDaddy.com embed handler callback. PollDaddy does not support oEmbed, at least not yet. - * - * @see WP_Embed::register_handler() - * @see WP_Embed::shortcode() - * - * @param array $matches The regex matches from the provided regex when calling {@link wp_embed_register_handler()}. - * @param array $attr Embed attributes. - * @param string $url The original URL that was matched by the regex. - * @param array $rawattr The original unmodified attributes. - * @return string The embed HTML. - */ -function wp_embed_handler_polldaddy( $matches, $attr, $url, $rawattr ) { - return apply_filters( 'embed_polldaddy', '', $matches, $attr, $url, $rawattr ); -} -wp_embed_register_handler( 'polldaddy', '#http://answers.polldaddy.com/poll/(\d+)(.*?)#i', 'wp_embed_handler_polldaddy' ); - ?> \ No newline at end of file