Skip to content

posts_selection is an action, not a filter #562

@SeanDS

Description

@SeanDS

The source code has the following filter registration:

add_filter( 'posts_selection', array( $this, 'fix_author_page' ) ); // use posts_selection since it's after WP_Query has built the request and before it's queried any posts

However, posts_selection is an action, not a filter, so this line presently does nothing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions