summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/pwa/class.jetpack-pwa-helpers.php')
-rw-r--r--plugins/jetpack/modules/pwa/class.jetpack-pwa-helpers.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/jetpack/modules/pwa/class.jetpack-pwa-helpers.php b/plugins/jetpack/modules/pwa/class.jetpack-pwa-helpers.php
index c1b868c3..4ac7602d 100644
--- a/plugins/jetpack/modules/pwa/class.jetpack-pwa-helpers.php
+++ b/plugins/jetpack/modules/pwa/class.jetpack-pwa-helpers.php
@@ -10,9 +10,7 @@ class Jetpack_PWA_Helpers {
}
public static function site_icon_url( $size = 512 ) {
- $url = function_exists( 'get_site_icon_url' )
- ? get_site_icon_url( $size )
- : false;
+ $url = get_site_icon_url( $size );
// Fall back to built-in WordPress icon
if ( ! $url && in_array( $size, self::get_default_manifest_icon_sizes() ) ) {