WordPress.org

Make WordPress Core

Changeset 28378


Ignore:
Timestamp:
05/13/14 04:28:30 (3 years ago)
Author:
DrewAPicture
Message:

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

See #26869.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-embed.php

    r28083 r28378  
    214214             * @see WP_oEmbed::discover() 
    215215             * 
    216              * @param bool false Whether to enable <link> tag discovery. Default false. 
     216             * @param bool $enable Whether to enable <link> tag discovery. Default false. 
    217217             */ 
    218218            $attr['discover'] = ( apply_filters( 'embed_oembed_discover', false ) && author_can( $post_ID, 'unfiltered_html' ) ); 
Note: See TracChangeset for help on using the changeset viewer.