summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/class.jetpack-twitter-cards.php')
-rw-r--r--plugins/jetpack/class.jetpack-twitter-cards.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jetpack/class.jetpack-twitter-cards.php b/plugins/jetpack/class.jetpack-twitter-cards.php
index 3e99ba17..e3096179 100644
--- a/plugins/jetpack/class.jetpack-twitter-cards.php
+++ b/plugins/jetpack/class.jetpack-twitter-cards.php
@@ -178,7 +178,7 @@ class Jetpack_Twitter_Cards {
}
static function site_tag() {
- $site_tag = get_option( 'jetpack-twitter-cards-site-tag' );
+ $site_tag = Jetpack_Options::get_option_and_ensure_autoload( 'jetpack-twitter-cards-site-tag', '' );
if ( empty( $site_tag ) ) {
if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) {
return 'wordpressdotcom';