Skip to content

Pass suppress_filters param to all get_posts calls #8624

@spacedmonkey

Description

@spacedmonkey

All calls to get_posts or get_children should pass the suppress_filters param. Passing this param allows plugins to filter wp query to modify behaviours. Take some example advanced-post-cache that is used on WordPress.com, which wouldn't cache without this param sent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugWhen a feature is broken and / or not performing as intendedGeneral

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions