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
This commit is contained in:
Drew Jaynes 2014-05-13 04:29:14 +00:00
parent 08824b6529
commit 62b6306739
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ class WP_Embed {
*
* @see WP_oEmbed::discover()
*
* @param bool false Whether to enable <link> tag discovery. Default false.
* @param bool $enable Whether to enable <link> tag discovery. Default false.
*/
$attr['discover'] = ( apply_filters( 'embed_oembed_discover', false ) && author_can( $post_ID, 'unfiltered_html' ) );