Skip to content

WP Super Cache: Fix $wp_cache_request_uri checks so WP CLI works properly #1007

Description

@donnchawp

As reported here. If $wp_cache_request_uri is null or blank as it will be when the WP CLI is used then actions aren't hooked, which means that scheduled posts will not clear the cache if the cron system is triggered by the CLI.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions