Skip to content

Commit

Permalink
Merge pull request #219 from xwp/fix/streaming-fatal
Browse files Browse the repository at this point in the history
Temporarily restore STREAM_THEME_SUPPORT constant to fix fatal error when referenced
  • Loading branch information
westonruter authored Aug 21, 2019
2 parents 811a76e + 6973a5a commit 4c8f2bc
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 4c8f2bc

Please sign in to comment.