summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-06-22 20:52:57 -0400
committerAnthony G. Basile <blueness@gentoo.org>2016-06-22 20:52:57 -0400
commitf7f019456122473c53bd3661b910e09fe4fbc92a (patch)
tree7349a3b80b9ea5e7bfbc9039926dfba34eba8bfb /plugins/jetpack/functions.opengraph.php
parentUpdate plugin wordpress-mobile-pack to 2.2.4 (diff)
downloadblogs-gentoo-f7f019456122473c53bd3661b910e09fe4fbc92a.tar.gz
blogs-gentoo-f7f019456122473c53bd3661b910e09fe4fbc92a.tar.bz2
blogs-gentoo-f7f019456122473c53bd3661b910e09fe4fbc92a.zip
Update plugin jecpack to 4.0.4
Diffstat (limited to 'plugins/jetpack/functions.opengraph.php')
-rw-r--r--plugins/jetpack/functions.opengraph.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jetpack/functions.opengraph.php b/plugins/jetpack/functions.opengraph.php
index a8715c5f..9ad7d1b5 100644
--- a/plugins/jetpack/functions.opengraph.php
+++ b/plugins/jetpack/functions.opengraph.php
@@ -61,7 +61,7 @@ function jetpack_og_tags() {
$tags['og:description'] = get_bloginfo( 'description' );
$front_page_id = get_option( 'page_for_posts' );
- if ( $front_page_id && is_home() )
+ if ( 'page' == get_option( 'show_on_front' ) && $front_page_id && is_home() )
$tags['og:url'] = get_permalink( $front_page_id );
else
$tags['og:url'] = home_url( '/' );