Changeset 13769 for trunk/wp-includes/media.php
- Timestamp:
- 03/19/2010 09:15:00 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/media.php
r13382 r13769 1117 1117 1118 1118 // Use oEmbed to get the HTML 1119 $attr['discover'] = ( apply_filters('embed_oembed_discover', false) && author_can( $post_ID, 'unfiltered_html' ) ) ? true : false;1119 $attr['discover'] = ( apply_filters('embed_oembed_discover', false) && author_can( $post_ID, 'unfiltered_html' ) ); 1120 1120 $html = wp_oembed_get( $url, $attr ); 1121 1121
Note: See TracChangeset
for help on using the changeset viewer.