Skip to content

Call wp_cache_flush_runtime in wp_clear_object_cache  #5769

@spacedmonkey

Description

@spacedmonkey

Feature Request

Call the function wp_cache_flush_runtime in wp_clear_object_cache . This function has been in core since 6.0.0 ( WordPress/wordpress-develop@c98f4c0) and is designed to perform the what currently wp_clear_object_cache does.

Describe the solution you'd like

It might be worth calling wp_cache_supports('flush_runtime') before calling wp_cache_flush_runtime.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions