X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/03f2fa83c13c1b532284205fa7efcab9b8b2c41f..refs/tags/wordpress-4.4.1:/wp-includes/embed.php?ds=sidebyside diff --git a/wp-includes/embed.php b/wp-includes/embed.php index 5e4cdc16..9fa1aa3d 100644 --- a/wp-includes/embed.php +++ b/wp-includes/embed.php @@ -345,7 +345,7 @@ function wp_oembed_register_route() { function wp_oembed_add_discovery_links() { $output = ''; - if ( is_singular() ) { + if ( is_singular() && ! is_front_page() ) { $output .= '' . "\n"; if ( class_exists( 'SimpleXMLElement' ) ) {