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:
parent
e2219e3d48
commit
3c80d5f86a
@ -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' ) );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user