WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#17025 new enhancement

wp_list_authors() is not filterable

Reported by: kevinB Owned by:
Priority: normal Milestone: Awaiting Review
Component: Query Version:
Severity: normal Keywords: has-patch
Cc:

Description

The template function wp_list_authors() is not filterable. Plugins may use existing WP_Query hooks to filter some authors' posts out of the result set, making the unfiltered authors list invalid.

The corresponding patch adds query filter 'list_authors_query'

Attachments (1)

list-authors_filter_3.2.patch (874 bytes) - added by kevinB 2 years ago.
query filter for wp_list_authors()

Download all attachments as: .zip

Change History (3)

kevinB2 years ago

query filter for wp_list_authors()

comment:1 scribu2 years ago

Related: #17022

comment:2 scribu2 years ago

  • Summary changed from add hook for wp_list_authors() to wp_list_authors() is not filterable
Note: See TracTickets for help on using tickets.