From a4b129aefd39914b393a7ef5fb863010f4b523b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Tue, 4 Feb 2020 21:19:43 +0100 Subject: [PATCH] Fix property case in Navigation_Routing_Component Discovered by @phpstan --- .../class-wp-service-worker-navigation-routing-component.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/components/class-wp-service-worker-navigation-routing-component.php b/wp-includes/components/class-wp-service-worker-navigation-routing-component.php index 19e97d6db..7405fe28e 100644 --- a/wp-includes/components/class-wp-service-worker-navigation-routing-component.php +++ b/wp-includes/components/class-wp-service-worker-navigation-routing-component.php @@ -63,9 +63,9 @@ public function serve( WP_Service_Worker_Scripts $scripts ) { $revision = PWA_VERSION; - $revision .= sprintf( ';%s=%s', $template, wp_get_theme( $template )->Version ); + $revision .= sprintf( ';%s=%s', $template, wp_get_theme( $template )->version ); if ( $template !== $stylesheet ) { - $revision .= sprintf( ';%s=%s', $stylesheet, wp_get_theme( $stylesheet )->Version ); + $revision .= sprintf( ';%s=%s', $stylesheet, wp_get_theme( $stylesheet )->version ); } // Ensure the user-specific offline/500 pages are precached, and that they update when user logs out or switches to another user.