From 62b630673967f6c1ebebb7c8d0ca190530f1f552 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Tue, 13 May 2014 04:29:14 +0000 Subject: [PATCH] Use a proper docs-specific variable for the first parameter passed to the `embed_oembed_discover` filter. See #26869. Built from https://develop.svn.wordpress.org/trunk@28378 git-svn-id: http://core.svn.wordpress.org/trunk@28206 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-embed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class-wp-embed.php b/wp-includes/class-wp-embed.php index 66b2820f3f..15fac66c00 100644 --- a/wp-includes/class-wp-embed.php +++ b/wp-includes/class-wp-embed.php @@ -213,7 +213,7 @@ class WP_Embed { * * @see WP_oEmbed::discover() * - * @param bool false Whether to enable tag discovery. Default false. + * @param bool $enable Whether to enable tag discovery. Default false. */ $attr['discover'] = ( apply_filters( 'embed_oembed_discover', false ) && author_can( $post_ID, 'unfiltered_html' ) );