summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/sync/class.jetpack-sync-functions.php')
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-functions.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/jetpack/sync/class.jetpack-sync-functions.php b/plugins/jetpack/sync/class.jetpack-sync-functions.php
index 4138c99f..0037dd35 100644
--- a/plugins/jetpack/sync/class.jetpack-sync-functions.php
+++ b/plugins/jetpack/sync/class.jetpack-sync-functions.php
@@ -170,4 +170,12 @@ class Jetpack_Sync_Functions {
return $wp_version;
}
+
+ public static function site_icon_url() {
+ if ( ! function_exists( 'get_site_icon_url' ) || ! has_site_icon() ) {
+ return get_option( 'jetpack_site_icon_url' );
+ }
+
+ return get_site_icon_url();
+ }
}