Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporarily restore STREAM_THEME_SUPPORT constant to fix fatal error when referenced #219

Merged
merged 1 commit into from
Aug 21, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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