From 6973a5a1d7aa0675cf11a9bf92e22290714a3734 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Wed, 21 Aug 2019 14:03:21 -0700 Subject: [PATCH] Temporarily restore STREAM_THEME_SUPPORT constant to fix fatal error when referenced --- ...-wp-service-worker-navigation-routing-component.php | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 7305dda36..c9f1f3d8c 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 @@ -13,6 +13,16 @@ */ class WP_Service_Worker_Navigation_Routing_Component implements WP_Service_Worker_Component { + /** + * Slug used to identify whether a theme supports service worker streaming. + * + * @since 0.2 + * @since 0.4 Obsolete. + * @var string + * @deprecated Since 0.4 all streaming support was removed. See . Constant is left in place for the time to prevent fatal error if referenced. + */ + const STREAM_THEME_SUPPORT = 'service_worker_streaming'; + /** * Internal storage for replacements to make in the error response handling script. *