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 a539f176f..f800c3798 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.