Skip to content

Commit

Permalink
Temporarily restore STREAM_THEME_SUPPORT constant to fix fatal error …
Browse files Browse the repository at this point in the history
…when referenced
  • Loading branch information
westonruter committed Aug 21, 2019
1 parent 811a76e commit 6973a5a
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://github.com/xwp/pwa-wp/issues/191>. 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.
*
Expand Down

0 comments on commit 6973a5a

Please sign in to comment.