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

Fix deprecated notice about non-static function #484

Merged
merged 1 commit into from
Jul 29, 2018

Commits on Jun 7, 2018

  1. Fix deprecated notice about non-static function

    set_request_last_from_entries() is being called statically when the function isn't declared static, resulting in this error:
    
    > Deprecated: Non-static method WPCOM_Liveblog_AMP::set_request_last_from_entries() should not be called statically in /liveblog/classes/class-wpcom-liveblog-amp.php on line 259
    
    This change fixes that by declaring the function as static.
    philipjohn committed Jun 7, 2018
    Configuration menu
    Copy the full SHA
    b623142 View commit details
    Browse the repository at this point in the history