Wordpres++

This commit is contained in:
nikolark committed 2016-01-27 09:52:51 +01:00
1 parent 3e89c56288
commit b3863fc635
152 files changed
+4903 -3602

No files matched your search

+1 -1
View File
@@ -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 .= '<link rel="alternate" type="application/json+oembed" href="' . esc_url( get_oembed_endpoint_url( get_permalink() ) ) . '" />' . "\n";
if ( class_exists( 'SimpleXMLElement' ) ) {