Use a proper docs-specific variable for the first parameter passed to the `embed_oembed_discover` filter.

See #26869.


git-svn-id: https://develop.svn.wordpress.org/trunk@28378 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes (DrewAPicture) 2014-05-13 04:28:30 +00:00
parent e2219e3d48
commit 3c80d5f86a
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' ) );