Automattic / liveblog

Liveblogging done right. Using WordPress.

Home Page:https://wordpress.org/plugins/liveblog/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WPCOM_Liveblog handle_request() is hooked to template_redirect, generating warnings

paulschreiber opened this issue · comments

In WPCOM_Liveblog, handle_request() is hooked to template_redirect. This is generating warnings:

Is this intentional? Can we move handle_request() to a different filter or action?

  330 | WARNING | Please, make sure that a callback to `'template_redirect'` filter is returning void intentionally.
      |         | (WordPressVIPMinimum.Filters.AlwaysReturn.voidReturn)
  330 | WARNING | Please, make sure that a callback to `'template_redirect'` filter is always returning some value.
      |         | (WordPressVIPMinimum.Filters.AlwaysReturn.missingReturnStatement)