Skip to content

Commit

Permalink
Autoload facebook_admins option
Browse files Browse the repository at this point in the history
  • Loading branch information
gravityrail committed Jul 5, 2016
1 parent 18c6be2 commit 252b822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions.opengraph.php
Expand Up @@ -67,7 +67,7 @@ function jetpack_og_tags() {
$tags['og:url'] = home_url( '/' );

// Associate a blog's root path with one or more Facebook accounts
$facebook_admins = get_option( 'facebook_admins' );
$facebook_admins = Jetpack_Options::get_option_and_ensure_autoload( 'facebook_admins', array() );
if ( ! empty( $facebook_admins ) )
$tags['fb:admins'] = $facebook_admins;

Expand Down

0 comments on commit 252b822

Please sign in to comment.