Changeset 34903 for trunk/src/wp-includes/class-wp-embed.php
- Timestamp:
- 10/07/2015 10:35:18 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-embed.php
r33734 r34903 234 234 * 235 235 * @since 2.9.0 236 * @since 4.4.0 The default value changed to true. 236 237 * 237 238 * @see WP_oEmbed::discover() 238 239 * 239 * @param bool $enable Whether to enable `<link>` tag discovery. Default false.240 * @param bool $enable Whether to enable `<link>` tag discovery. Default true. 240 241 */ 241 $attr['discover'] = ( apply_filters( 'embed_oembed_discover', false ) && author_can( $post_ID, 'unfiltered_html') );242 $attr['discover'] = ( apply_filters( 'embed_oembed_discover', true ) ); 242 243 243 244 // Use oEmbed to get the HTML
Note: See TracChangeset
for help on using the changeset viewer.