Remove an unnecessary function_exists() call which was included in the oEmbed feature plugin for compatibility with WordPress < 4.3.

See #32522


git-svn-id: https://develop.svn.wordpress.org/trunk@35087 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2015-10-12 22:53:28 +00:00
parent 2eaae4739b
commit 4d8c6f6e08

View File

@ -123,11 +123,7 @@ if ( have_posts() ) :
<div class="wp-embed-footer">
<div class="wp-embed-site-title">
<?php
$site_icon_url = admin_url( 'images/w-logo-blue.png' );
if ( function_exists( 'get_site_icon_url' ) ) {
$site_icon_url = get_site_icon_url( 32, $site_icon_url );
}
$site_icon_url = get_site_icon_url( 32, admin_url( 'images/w-logo-blue.png' ) );
/**
* Filters the site icon URL for use in the embed template.